mirror of https://gitee.com/openkylin/libvirt.git
vz: update domain cache after device updates
This commit is contained in:
parent
3a6cf6fc16
commit
836a2c78ca
|
@ -1694,6 +1694,9 @@ static int vzDomainUpdateDeviceFlags(virDomainPtr domain,
|
|||
if (prlsdkUpdateDevice(driver, dom, dev) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (prlsdkUpdateDomain(driver, dom) < 0)
|
||||
goto cleanup;
|
||||
|
||||
ret = 0;
|
||||
cleanup:
|
||||
|
||||
|
|
Loading…
Reference in New Issue