]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virDomainCreateXML: Make domain definition transient
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Sep 2015 14:57:52 +0000 (16:57 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Sep 2015 08:52:38 +0000 (10:52 +0200)
commitc99b8cec82a53f091ca3de7532d305a93765b467
treeef3ce25e9faf85b256c2c5a18a67e7a51dea57c3
parent37405b910907bd1ad338fb0d6a967bfd23529cf6
virDomainCreateXML: Make domain definition transient

https://bugzilla.redhat.com/show_bug.cgi?id=871452

So, you want to create a domain from XML. The domain already
exists in libvirt's database of domains. It's okay, because name
and UUID matches. However, on domain startup, internal
representation of the domain is overwritten with your XML even
though we claim that the XML you've provided is a transient one.
The bug is to be found across nearly all the drivers.
Le sigh.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/bhyve/bhyve_driver.c
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/openvz/openvz_driver.c
src/qemu/qemu_driver.c
src/test/test_driver.c
src/uml/uml_driver.c
src/vmware/vmware_driver.c