]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix handling of security driver restore failures in QEMU domain save
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 22 Apr 2010 16:16:47 +0000 (17:16 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Apr 2010 12:51:55 +0000 (13:51 +0100)
commit51cd0196e56dd5e6ca7c3e0840256c5be0fc8b4d
tree5782f887d56127ff555d301624199b4aee3cba83
parent712048bd9a892ccc66ab48da18d74edd1298ae0e
Fix handling of security driver restore failures in QEMU domain save

In cases where the security driver failed to restore a label after a
guest has saved, we mistakenly jumped to the error cleanup paths.
This is not good, because the operation has in fact completed and
cannot be rolled back completely. Label restore is non-critical, so
just log the problem instead. Also add a missing restore call in
the error cleanup path

* src/qemu/qemu_driver.c: Fix handling of security driver
  restore failures in QEMU domain save
src/qemu/qemu_driver.c