mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virDomainGetState public API
This API is supposed to replace virDomainGetInfo when the only purpose of calling it is getting current domain status.
This commit is contained in:
@@ -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'/>
|
||||
|
||||
Reference in New Issue
Block a user