[libvirt] [PATCH v2 0/8] Add ability to store notes with domains

Peter Krempa pkrempa at redhat.com
Wed Jan 18 14:23:57 UTC 2012


I've reworked this patches to use a separate element for storing the
short note. This v2 also contains som new patches, especially added
support for the LXC driver, and optionaly API to get the description.
(See patches marked as optional). These are not required, just add
a helper api to get the description and it's usage in virsh.

v2 patches:
  xml: Add element <title> to allow short description of domains
  api: Add api to set domain title and description in runtime
  qemu: Implement note API in qemu driver
  virsh: Add support for modifying domain description and titles
v1 patches:
  lxc: implement description API in LXC driver.
  api: Add API to get domain title and description      (optional)
  lxc, qemu: Add support for virDomainGetDescription    (optional)
  virsh: Add support for virDomainGetDescription api    (optional)

 docs/formatdomain.html.in                          |    6 +
 docs/schemas/domaincommon.rng                      |   13 +-
 include/libvirt/libvirt.h.in                       |   13 +
 src/conf/domain_conf.c                             |   19 ++
 src/conf/domain_conf.h                             |    1 +
 src/driver.h                                       |    9 +
 src/libvirt.c                                      |   92 +++++++
 src/libvirt_public.syms                            |    6 +
 src/lxc/lxc_driver.c                               |  139 ++++++++++
 src/qemu/qemu_driver.c                             |  139 ++++++++++
 src/remote/remote_driver.c                         |    2 +
 src/remote/remote_protocol.x                       |   19 ++-
 .../qemu-simple-description-title.xml              |   27 ++
 tests/qemuxml2argvdata/qemuxml2argv-minimal.xml    |    5 +
 tools/virsh.c                                      |  268 ++++++++++++++++++--
 tools/virsh.pod                                    |   34 +++-
 16 files changed, 769 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