[PATCHv2 0/4] API for modification of domain metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a corrected version of the domain metadata modification API.

I dropped the limit on length of the domain title and added skipping
of newlines added at the end of file by some editors, which made
--edit unusable with --title for the new desc command.

Peter Krempa (4):
  xml: Add element <title> to allow short description of domains
  API: Add api to set and get domain metadata
  virsh: Add support for modifying domain description and titles
  qemu: Add support for virDomainGetMetadata and virDomainSetMetadata

 docs/formatdomain.html.in                          |    6 +
 docs/schemas/domaincommon.rng                      |   13 +-
 include/libvirt/libvirt.h.in                       |   24 ++
 include/libvirt/virterror.h                        |    1 +
 src/conf/domain_conf.c                             |   11 +
 src/conf/domain_conf.h                             |    1 +
 src/driver.h                                       |   16 ++
 src/libvirt.c                                      |  181 +++++++++++++
 src/libvirt_public.syms                            |    2 +
 src/qemu/qemu_driver.c                             |  174 ++++++++++++
 src/remote/remote_driver.c                         |    2 +
 src/remote/remote_protocol.x                       |   24 ++-
 src/util/virterror.c                               |    6 +
 .../qemu-simple-description-title.xml              |   27 ++
 tests/qemuxml2argvdata/qemuxml2argv-minimal.xml    |    5 +
 tools/virsh.c                                      |  283 ++++++++++++++++++--
 tools/virsh.pod                                    |   34 +++-
 17 files changed, 787 insertions(+), 23 deletions(-)
 create mode 100644 tests/domainschemadata/qemu-simple-description-title.xml

-- 
1.7.3.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]