From: Nikolay Shirokovskiy Date: Thu, 25 Aug 2016 08:33:35 +0000 (+0300) Subject: vz: update domain cache after device updates X-Git-Tag: v2.2.0-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836a2c78ca968e3f58c06249a63d60f754a5c517;p=thirdparty%2Flibvirt.git vz: update domain cache after device updates --- diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index 4a0068c656..819dad7f90 100644 --- a/src/vz/vz_driver.c +++ b/src/vz/vz_driver.c @@ -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: