Re: [libvirt] [PATCH] qemu: managedsave: Don't spam logs with warnings about corrupted image

2014-05-28 Thread Peter Krempa
On 05/28/14 17:36, Eric Blake wrote: > On 05/28/2014 09:18 AM, Peter Krempa wrote: >> Even successful start of a VM from a managed save image would spam the >> logs with the following message: >> >> Unable to restore from managed state [path]. Maybe the file is >> corrupted? >> >> Re-arrange the lo

Re: [libvirt] [PATCH] qemu: managedsave: Don't spam logs with warnings about corrupted image

2014-05-28 Thread Eric Blake
On 05/28/2014 09:18 AM, Peter Krempa wrote: > Even successful start of a VM from a managed save image would spam the > logs with the following message: > > Unable to restore from managed state [path]. Maybe the file is > corrupted? > > Re-arrange the logic to output the warning only when the imag

[libvirt] [PATCH] qemu: managedsave: Don't spam logs with warnings about corrupted image

2014-05-28 Thread Peter Krempa
Even successful start of a VM from a managed save image would spam the logs with the following message: Unable to restore from managed state [path]. Maybe the file is corrupted? Re-arrange the logic to output the warning only when the image is corrupted. The flaw was introduced in commit cfc28c6