Re: [PATCH] save domain status after modifing vcpupin

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

 



At 06/28/2011 06:36 PM, Michal Privoznik Write:
> On 28.06.2011 05:43, Wen Congyang wrote:
>> We should save domain status after modifing vcpupin. If not,
>> we will get wrong vcpupin information after rebooting libvirtd.
>>
>> ---
>>  src/qemu/qemu_driver.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
>> index 8fcc266..768e0f2 100644
>> --- a/src/qemu/qemu_driver.c
>> +++ b/src/qemu/qemu_driver.c
>> @@ -3124,6 +3124,8 @@ qemudDomainPinVcpuFlags(virDomainPtr dom,
>>              }
>>          }
>>  
>> +        if (virDomainSaveStatus(driver->caps, driver->stateDir, vm) < 0)
>> +            goto cleanup;
>>      }
>>  
>>      if (flags & VIR_DOMAIN_AFFECT_CONFIG) {
> 
> ACK.

Thanks. Pushed.

> 
> Michal
> 

--
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]