]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Don't overwrite existing errors when thawing filesystems
authorPeter Krempa <pkrempa@redhat.com>
Fri, 5 Feb 2016 15:55:09 +0000 (16:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Feb 2016 07:50:00 +0000 (08:50 +0100)
commita9839fe044e8392bdedda18f5b4e4818eadaa636
tree45b1742237be219a19fcfd5124c425249cbf4e15
parent6450c9e4cf3fd92fd9d74e3ed808d869af8598d4
qemu: snapshot: Don't overwrite existing errors when thawing filesystems

If we are attempting to thaw the filesystems on error, the code would
overwrite the error code that caused the snapshot to fail with the error
of thawing the filesystem. Since the thawing function allows control of
error reporting behavior we can use this feature.
src/qemu/qemu_driver.c