summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2011-04-22 13:31:35 +0200
committerJiri Denemark <jdenemar@redhat.com>2011-05-16 10:04:18 +0200
commita35962b1af2077e18b93966b903d9061779f1ff7 (patch)
tree5c9a8a510c95bdb9af13cd96b1f896ffbfa580a1 /libvirt-override-api.xml
parent0aa2b90fc0a9975221ae8f8e94df61bb788877bc (diff)
downloadlibvirt-python-v6-a35962b1af2077e18b93966b903d9061779f1ff7.tar.gz
libvirt-python-v6-a35962b1af2077e18b93966b903d9061779f1ff7.tar.xz
libvirt-python-v6-a35962b1af2077e18b93966b903d9061779f1ff7.zip
virDomainGetState public API
This API is supposed to replace virDomainGetInfo when the only purpose of calling it is getting current domain status.
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 54deeb5..ec08e69 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -48,6 +48,12 @@
<return type='int *' info='the list of information or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>
</function>
+ <function name='virDomainGetState' file='python'>
+ <info>Extract domain state.</info>
+ <return type='int *' info='the list containing state and reason or None in case of error'/>
+ <arg name='domain' type='virDomainPtr' info='a domain object'/>
+ <arg name='flags' type='unsigned int' info='additional flags'/>
+ </function>
<function name='virDomainGetBlockInfo' file='python'>
<info>Extract information about a domain block device size</info>
<return type='int *' info='the list of information or None in case of error'/>