]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: snapshot: Avoid libvirtd crash when qemu crashes while snapshotting
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Dec 2013 15:09:34 +0000 (16:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Jan 2014 10:42:01 +0000 (11:42 +0100)
commit55bbb011b965c7962933604c70f61cef45e8ec04
treeaa6ecb4e3d19799861eec706452333faaf448bbf
parent08d07e5fd8a4c072bf040b3949bbd969f98d1081
qemu: snapshot: Avoid libvirtd crash when qemu crashes while snapshotting

We shouldn't access the domain definition while we are in the monitor
section as the domain is unlocked. Additionally after we exit from the
monitor we need to check if the VM is still alive. Not doing so resulted
in a crash if qemu exits while attempting to do an external VM snapshot.
src/qemu/qemu_driver.c