summaryrefslogtreecommitdiff
path: root/src/vz
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2017-06-02 00:27:33 +0200
committerJiri Denemark <jdenemar@redhat.com>2017-06-07 13:36:01 +0200
commit957cd268a98043fe061227a8e829c622a6fb4b86 (patch)
tree8a5a18d700bebf9c617a4cd20525d48720116adb /src/vz
parent00968dca967f4bf9d4f496e5c971bff3f8147ed8 (diff)
downloadlibvirt-957cd268a98043fe061227a8e829c622a6fb4b86.tar.gz
conf: Pass xmlopt to virDomainSnapshotDefFormat
This will be used later when a save cookie will become part of the snapshot XML using new driver specific parser/formatter functions. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'src/vz')
-rw-r--r--src/vz/vz_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index 2c021884f1..e6bb201827 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -2303,6 +2303,7 @@ vzDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot, unsigned int flags)
virUUIDFormat(snapshot->domain->uuid, uuidstr);
xml = virDomainSnapshotDefFormat(uuidstr, snap->def, privconn->driver->caps,
+ privconn->driver->xmlopt,
virDomainDefFormatConvertXMLFlags(flags),
0);