[libvirt] [PATCH 0/6] Fix state driver hotplug semantics
Cole Robinson
crobinso at redhat.com
Mon Nov 22 21:35:28 UTC 2010
Currently, domain hotplug operations in the state drivers (QEMU, LXC, ...)
have strange semantics: a hotplug config change will stick around in memory
until the domain is either redefined or libvirtd is restarted.
This series fixes hotplug config changes to be discarded when the VM is
stopped, which AFAICT is the expected behavior. A few bugs with setvcpus
implementations are also addressed.
Thanks,
Cole
Cole Robinson (6):
domain_conf: Add virDomainObjSetDefTransient
Make state driver device hotplug/update actually transient
conf: domain: Improve vcpus validation reporting
qemu: setvcpus: Fix maxvcpus check
qemu: setvcpus: Simplify altering the persistent config
qemu: setvcpus: Save config changes to disk
src/conf/domain_conf.c | 76 +++++++++++++++++++++++++++++++++++++++--
src/conf/domain_conf.h | 5 +++
src/libvirt_private.syms | 2 +
src/lxc/lxc_driver.c | 3 ++
src/qemu/qemu_driver.c | 56 ++++++++++++++---------------
src/test/test_driver.c | 86 +++++++++++++++++++++-------------------------
src/uml/uml_driver.c | 5 ++-
7 files changed, 153 insertions(+), 80 deletions(-)
--
1.7.3.2
More information about the libvir-list
mailing list