Re: [PATCH] Managed-Save: False warning on successful managed save restoration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/28/14 16:43, Eric Blake wrote:
> On 05/28/2014 02:45 AM, Peter Krempa wrote:
> 
>>>          }
>>
>> But this patch isn't ideal and makes the logic in the code even more entangled. 
>> qemuDomainObjRestore returns 1 on corrupted image that was removed, 0 on sucess 
>> and -1 on other errors. The condition right above that hunk tests success case. 
>> We should connect this failure case condition to the else section of that 
>> condition so that we don't make it even weirder.
> 
> Your approach is even more legible; consider this a pre-approved ACK if
> you turn it into a formal commit and apply it in time for 1.2.5.
> 

The fix is pushed now.

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]