diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index d7b754e1de..d13c86afce 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -3552,12 +3552,6 @@ prlsdkAttachDevice(vzDriverPtr driver, return -1; } - if (prlsdkUpdateDomain(driver, dom) < 0) { - virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("Failed to save new config")); - return -1; - } - job = PrlVm_CommitEx(privdom->sdkdom, PVCF_DETACH_HDD_BUNDLE); if (PRL_FAILED(waitDomainJob(job, dom))) return -1; @@ -3623,12 +3617,6 @@ prlsdkDetachDevice(vzDriverPtr driver ATTRIBUTE_UNUSED, goto cleanup; } - if (prlsdkUpdateDomain(driver, dom) < 0) { - virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("Failed to save new config")); - goto cleanup; - } - job = PrlVm_CommitEx(privdom->sdkdom, PVCF_DETACH_HDD_BUNDLE); if (PRL_FAILED(waitDomainJob(job, dom))) goto cleanup;