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

Peter Krempa pkrempa at redhat.com
Mon Jan 30 15:09:35 UTC 2012


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




More information about the libvir-list mailing list