]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_ga: Don't overwrite errors on FSThaw
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Apr 2012 10:33:48 +0000 (12:33 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Apr 2012 11:42:04 +0000 (13:42 +0200)
commit650da0e99c56f4142273f4e369ad02bd0c008765
tree8e86d47a9935184ac3ff98b5fe5ee29e760d5ba1
parentfb98da005071f7f9a5d222b3829901682732900c
qemu_ga: Don't overwrite errors on FSThaw

We can tell qemuDomainSnapshotFSThaw if we want it to report errors or
not. However, if we don't want to and an error has been already set by
previous qemuReportError() we must keep copy of that error not just a
pointer to it. Otherwise, it get overwritten if FSThaw reports an error.
src/qemu/qemu_driver.c