vz: update domain cache after device updates

This commit is contained in:
Nikolay Shirokovskiy 2016-08-25 11:33:35 +03:00 committed by Maxim Nestratov
parent 3a6cf6fc16
commit 836a2c78ca
1 changed files with 3 additions and 0 deletions

View File

@ -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: