[libvirt] [PATCH v2] Disk- and Controller Hotplug

wolfgang.mauerer at siemens.com wolfgang.mauerer at siemens.com
Mon Nov 16 23:53:31 UTC 2009


Hi,

this is the second revision of a patch series to improve disk
hotadd support for libvirt. It focuses on the qemu backend, but
is naturally designed to be compatible with other backends as
well. The objective is two-fold:

1.) Split off controller from disk handling. This is done by
    introducing a new domain element <controller> that is used to
    describe disk controllers. Support for hotplugging such
    controllers is added.  Support to reference controllers by
    name is also included.
2.) <disk>s can now be associated with a specific controller;
    this is done by means of a <controller> subelemnt for disks.

This patch addresses the questions that were raised during the
review of the initial submission, massages the code by fixing
some whitespace issues, gets static controller configurations to
work, and adds documentation. Notice that in contrast to the
first submission I did not include the patch that adds support
for disk- and controller hot_remove_. Since the qemu codebase is
still in bit of a flux wrt.  the necessary patches required for
this functionality, it will reappear some time later as a
separate submission.
				       
Best,

Wolfgang


 daemon/libvirtd.c            |    2 +-
 docs/formatdomain.html.in    |   38 +++++
 docs/schemas/domain.rng      |  158 ++++++++++++++++-----
 src/conf/domain_conf.c       |  314 +++++++++++++++++++++++++++++++++++++++++-
 src/conf/domain_conf.h       |   62 ++++++++-
 src/libvirt_private.syms     |    7 +-
 src/qemu/qemu_driver.c       |  184 +++++++++++++++++++++++--
 src/qemu/qemu_monitor_text.c |  197 ++++++++++++++++++++++++++
 src/qemu/qemu_monitor_text.h |    7 +
 9 files changed, 910 insertions(+), 59 deletions(-)

--
Siemens AG, CT T DE
Corporate Competence Centre Embedded Linux




More information about the libvir-list mailing list