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

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Mon Mar 14 09:26:34 UTC 2016



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




More information about the libvir-list mailing list