[libvirt] [PATCH 0/4] Add ability to store and display notes and description with domains

Peter Krempa pkrempa at redhat.com
Fri Jan 13 18:17:35 UTC 2012


This patchset adds ability to store, display and modify comments for domains to help
administrators identify and store metadata to domains to allow easy identification.

A short description "note" was added as an attribute for the <description> element
to hold a shorter description (limited to max 40 characters) to be shown along with
lists of domains.

A new command is being added to virsh to accomodate work with these new options.

Peter Krempa (4):
  xml: Add attribute to <description> element to hold a short note
  api: Add api to set domain note and description in runtime
  qemu: Implement note API in qemu driver
  virsh: Add support for modifying domain description and notes

 docs/formatdomain.html.in     |    7 +-
 docs/schemas/domaincommon.rng |   14 ++-
 include/libvirt/libvirt.h.in  |   15 +++
 src/conf/domain_conf.c        |   27 ++++-
 src/conf/domain_conf.h        |    1 +
 src/driver.h                  |    5 +
 src/libvirt.c                 |   47 ++++++++
 src/libvirt_public.syms       |    5 +
 src/qemu/qemu_driver.c        |   70 ++++++++++++
 src/remote/remote_driver.c    |    1 +
 src/remote/remote_protocol.x  |    9 ++-
 tools/virsh.c                 |  246 +++++++++++++++++++++++++++++++++++++----
 tools/virsh.pod               |   30 +++++-
 13 files changed, 450 insertions(+), 27 deletions(-)

-- 
1.7.3.4




More information about the libvir-list mailing list