1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-27 11:34:09 +03:00

python: Add binding for virDomainGetDiskErrors

This commit is contained in:
Jiri Denemark
2012-01-31 07:34:51 +01:00
parent e08d2a9ad8
commit 7bceae0fa6
2 changed files with 60 additions and 0 deletions

View File

@@ -421,5 +421,11 @@
<arg name='flags' type='unsigned int' info='an OR&apos;ed set of virDomainMemoryFlags'/>
<return type='char *' info='the returned buffer or None in case of error'/>
</function>
<function name='virDomainGetDiskErrors' file='python'>
<info>Extract errors on disk devices.</info>
<return type='virDomainDiskErrorPtr' info='dictionary of disks and their errors or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>
<arg name='flags' type='unsigned int' info='unused, always pass 0'/>
</function>
</symbols>
</api>