diff options
author | Kothapally Madhu Pavan <kmp@linux.vnet.ibm.com> | 2017-08-08 13:32:49 +0530 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2017-08-29 13:40:13 +0200 |
commit | a67e3872a6c0dbb0b911236811deb33bda88becb (patch) | |
tree | 093a99a9f599b1ef8cd1560a0794485a0f77051e /src/driver-hypervisor.h | |
parent | 3ee9bdbe351c0b80d4c469571ef31df3f1b148ea (diff) | |
download | libvirt-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.h | 5 |
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; |