]> xenbits.xensource.com Git - libvirt.git/commit
vz: fix active domain listing
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Fri, 11 Mar 2016 08:36:17 +0000 (11:36 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Mon, 14 Mar 2016 12:12:10 +0000 (15:12 +0300)
commit8a744987218c168d0b6cb93f61ad4011cb22d04c
treeb399cb4dd90f146c7b02dc84fbca1aec5088dc36
parent2e70af12f2d63eaba2294481762fe1df8b5c0e3e
vz: fix active domain listing

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@virtuozzo.com>
src/vz/vz_sdk.c