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

Peter Krempa pkrempa at redhat.com
Wed May 28 17:31:27 UTC 2014


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 logic to output the warning only when the image is
>> corrupted.
>>
>> The flaw was introduced in commit cfc28c66.
>> ---
>>  src/qemu/qemu_driver.c | 8 ++++----
>>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> ACK.
> 

Pushed; Thanks.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140528/c6a0b1c2/attachment-0001.sig>


More information about the libvir-list mailing list