[libvirt] [PATCH] vz: fix active domain listing

Maxim Nestratov mnestratov at virtuozzo.com
Mon Mar 14 12:13:07 UTC 2016


14.03.2016 12:26, Nikolay Shirokovskiy пишет:
>
> On 11.03.2016 12:05, Maxim Nestratov wrote:
>> Since commit 9c14a9ab we have broken active domain listing
>> because reworked prlsdkLoadDomain doesn't set dom->def->id
>> propely. It just looses it when a new def structure is set.
>> Now we make prlsdkConvertDomainState function return void
>> and move calling it after an old dom->def is replaces with
>> a new one within prlsdkLoadDomain function.
>>
>> Signed-off-by: Maxim Nestratov <mnestratov at virtuozzo.com>
>> ---
>>   src/vz/vz_sdk.c | 20 +++++++-------------
>>   1 file changed, 7 insertions(+), 13 deletions(-)
>>
> ACK
Thanks, pushed.




More information about the libvir-list mailing list