[libvirt] [PATCH] qemu_ga: Don't overwrite errors on FSThaw
Michal Privoznik
mprivozn at redhat.com
Fri Apr 6 11:42:37 UTC 2012
On 06.04.2012 13:38, Jiri Denemark wrote:
> On Fri, Apr 06, 2012 at 12:58:02 +0200, Michal Privoznik wrote:
>> 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 | 11 ++++-------
>> 1 files changed, 4 insertions(+), 7 deletions(-)
>
> ACK
>
> Jirka
Thanks, pushed.
Michal
More information about the libvir-list
mailing list