summaryrefslogtreecommitdiff
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2019-02-07 16:36:16 -0600
committerEric Blake <eblake@redhat.com>2019-07-29 13:39:39 -0500
commit358a8640fa03b6d79645d1794e28a4259bea7ec3 (patch)
treed3761aa580c5c875a828658f2c082c5e31bbc3af /libvirt-override-api.xml
parent5e9d1aa7facb9e5ff77fbdf8509a965364ed3630 (diff)
downloadlibvirt-python-358a8640fa03b6d79645d1794e28a4259bea7ec3.tar.gz
Add virDomainCheckpoint APIs
Copies heavily from existing virDomainSnapshot handling, regarding what special cases the generator has to be taught and what overrides need to be written. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 6e29c1e..9c4d71d 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -576,6 +576,18 @@
<arg name='flags' type='unsigned int' info='flags'/>
<return type='int' info="0 on success, -1 on error"/>
</function>
+ <function name='virDomainListAllCheckpoints' file='python'>
+ <info>returns the list of checkpoints for the given domain</info>
+ <arg name='dom' type='virDomainPtr' info='pointer to the domain'/>
+ <arg name='flags' type='unsigned int' info='flags'/>
+ <return type='char *' info='the list of checkpoints or None in case of error'/>
+ </function>
+ <function name='virDomainCheckpointListAllChildren' file='python'>
+ <info>collect the list of child checkpoint names for the given checkpoint</info>
+ <arg name='checkpoint' type='virDomainCheckpointPtr' info='pointer to the checkpoint'/>
+ <arg name='flags' type='unsigned int' info='flags'/>
+ <return type='char *' info='the list of checkpoints or None in case of error'/>
+ </function>
<function name='virDomainGetBlockJobInfo' file='python'>
<info>Get progress information for a block job</info>
<arg name='dom' type='virDomainPtr' info='pointer to the domain'/>