diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 0c8eb2e55468d4f348149d30ef8eef51aef80b4b..c285a89fbe89246b4d004c80fd108b7c4613803a 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -12855,7 +12855,7 @@ static char *qemuDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot, if (!(vm = qemuDomObjFromSnapshot(snapshot))) goto cleanup; - if (virDomainSnapshotGetXMLDescEnsureACL(snapshot->domain->conn, vm->def) < 0) + if (virDomainSnapshotGetXMLDescEnsureACL(snapshot->domain->conn, vm->def, flags) < 0) goto cleanup; if (!(snap = qemuSnapObjFromSnapshot(vm, snapshot))) diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x index 7986b4e45c802786bb8ada3614d771e91825dd9e..e7b66cae01c39e2b72034db4b1f6646711076499 100644 --- a/src/remote/remote_protocol.x +++ b/src/remote/remote_protocol.x @@ -4184,6 +4184,7 @@ enum remote_procedure { * @generate: both * @priority: high * @acl: domain:read + * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE */ REMOTE_PROC_DOMAIN_SNAPSHOT_GET_XML_DESC = 186,