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

Re: [libvirt] [PATCH 2/8] qemu: don't restore state label twice



On 03/27/2011 02:31 AM, Laine Stump wrote:
> On 03/26/2011 08:12 AM, Eric Blake wrote:
>> Otherwise, if something like doStopVcpus fails after the first
>> restore, a second restore is attempted and throws a useless
>> warning.
>>
>> * src/qemu/qemu_driver.c (qemudDomainSaveFlag): Avoid second
>> restore of state label.
>> ---
>>
>> Original post:
>> https://www.redhat.com/archives/libvir-list/2011-March/msg01192.html
>>
>>   src/qemu/qemu_driver.c |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
>> index 016ad1d..e0e86d3 100644
>> --- a/src/qemu/qemu_driver.c
>> +++ b/src/qemu/qemu_driver.c
>> @@ -2044,6 +2044,7 @@ static int qemudDomainSaveFlag(struct
>> qemud_driver *driver, virDomainPtr dom,
>>          
>> virSecurityManagerRestoreSavedStateLabel(driver->securityManager,
>>                                                    vm, path)<  0)
>>           VIR_WARN("failed to restore save state label on %s", path);
>> +    bypassSecurityDriver = true;
>>
>>       if (cgroup != NULL) {
>>           rc = virCgroupDenyDevicePath(cgroup, path,
> 
> ACK

Thanks; applied.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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