diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 59945583ccbd1c2b1d8977cc33ecb386f6c700d9..c9110f036024dbb056c6357fe003a595cbea35ba 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -6031,7 +6031,7 @@ qemuDomainSaveImageGetXMLDesc(virConnectPtr conn, const char *path, if (fd < 0) goto cleanup; - if (virDomainSaveImageGetXMLDescEnsureACL(conn, def) < 0) + if (virDomainSaveImageGetXMLDescEnsureACL(conn, def, flags) < 0) goto cleanup; ret = qemuDomainDefFormatXML(driver, def, flags); diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x index d91fbe0ee4a3a225870de31e97571b68edda221b..15694fa158b3934a2e0d30330887cb73ee8f4666 100644 --- a/src/remote/remote_protocol.x +++ b/src/remote/remote_protocol.x @@ -4819,6 +4819,7 @@ enum remote_procedure { * @generate: both * @priority: high * @acl: domain:read + * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE */ REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC = 235,