diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2022-05-12 10:46:34 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2022-05-13 13:28:11 +0200 |
commit | c40c5f0cfc3ef80109cef181e9926e02efdf8333 (patch) | |
tree | 0a162305c469005a130e6ef20500f55ee9c37621 /libvirt-override-api.xml | |
parent | f27567e993c10f471d1ee653e4da92daa03b3d1d (diff) | |
download | libvirt-python-c40c5f0cfc3ef80109cef181e9926e02efdf8333.tar.gz |
Add an override impl for virDomainRestoreParams and virDomainSaveParamsv8.4.0
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 1ba184c..7696eb6 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -852,5 +852,19 @@ <arg name='params' type='virTypedParameterPtr' info='pointer to launch security state objects'/> <arg name='flags' type='unsigned int' info='currently used, set to 0.'/> </function> + <function name='virDomainSaveParams' file='python'> + <info>This method will suspend a domain and save its memory contents to a file on disk.</info> + <return type='int' info='0 in case of success and -1 in case of failure'/> + <arg name='domain' type='virDomainPtr' info='pointer to domain object'/> + <arg name='params' type='virTypedParameterPtr' info='pointer to save parameter objects'/> + <arg name='flags' type='int' info='an OR'ed set of virDomainSaveRestoreFlags'/> + </function> + <function name='virDomainRestoreParams' file='python'> + <info>This method will restore a domain saved to disk.</info> + <return type='int' info='0 in case of success and -1 in case of failure'/> + <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/> + <arg name='params' type='virTypedParameterPtr' info='pointer to save parameter objects'/> + <arg name='flags' type='int' info='an OR'ed set of virDomainSaveRestoreFlags'/> + </function> </symbols> </api> |