summaryrefslogtreecommitdiff
path: root/src/driver-hypervisor.h
diff options
context:
space:
mode:
authorKothapally Madhu Pavan <kmp@linux.vnet.ibm.com>2017-08-08 13:32:49 +0530
committerPeter Krempa <pkrempa@redhat.com>2017-08-29 13:40:13 +0200
commita67e3872a6c0dbb0b911236811deb33bda88becb (patch)
tree093a99a9f599b1ef8cd1560a0794485a0f77051e /src/driver-hypervisor.h
parent3ee9bdbe351c0b80d4c469571ef31df3f1b148ea (diff)
downloadlibvirt-a67e3872a6c0dbb0b911236811deb33bda88becb.tar.gz
lib: Add API to dump xml configuration of managed save state domain
Similar to domainSaveImageGetXMLDesc this commit adds domainManagedSaveGetXMLDesc API which allows to get the xml of managed save state domain. Signed-off-by: Kothapally Madhu Pavan <kmp@linux.vnet.ibm.com>
Diffstat (limited to 'src/driver-hypervisor.h')
-rw-r--r--src/driver-hypervisor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver-hypervisor.h b/src/driver-hypervisor.h
index 7b35e9e68d..a3f9cbc31f 100644
--- a/src/driver-hypervisor.h
+++ b/src/driver-hypervisor.h
@@ -750,6 +750,10 @@ typedef int
(*virDrvDomainManagedSaveRemove)(virDomainPtr domain,
unsigned int flags);
+typedef char *
+(*virDrvDomainManagedSaveGetXMLDesc)(virDomainPtr domain,
+ unsigned int flags);
+
typedef virDomainSnapshotPtr
(*virDrvDomainSnapshotCreateXML)(virDomainPtr domain,
const char *xmlDesc,
@@ -1428,6 +1432,7 @@ struct _virHypervisorDriver {
virDrvDomainManagedSave domainManagedSave;
virDrvDomainHasManagedSaveImage domainHasManagedSaveImage;
virDrvDomainManagedSaveRemove domainManagedSaveRemove;
+ virDrvDomainManagedSaveGetXMLDesc domainManagedSaveGetXMLDesc;
virDrvDomainSnapshotCreateXML domainSnapshotCreateXML;
virDrvDomainSnapshotGetXMLDesc domainSnapshotGetXMLDesc;
virDrvDomainSnapshotNum domainSnapshotNum;