]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix crash when cleaning up from failed save attempt
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Apr 2010 14:41:48 +0000 (15:41 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Apr 2010 12:45:34 +0000 (13:45 +0100)
commitd7e0fe6e9fd29d56134ed5d3a8416f9e02f2e5df
treedba8c7fb94b8f8e61559374423b3fb0681ed0ffb
parented7813d28d45c8bf591d1567a8c7ea678b627958
Fix crash when cleaning up from failed save attempt

If a transient QEMU crashes during save attempt, then the virDomainPtr
object may be freed. If a persistent QEMU crashes during save, then
the 'priv->mon' field is no longer valid since it will be inactive.

* src/qemu/qemu_driver.c: Fix two crashes when QEMU exits
  during a save attempt
src/qemu/qemu_driver.c