1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-12-18 20:23:49 +03:00

* python/generator.py python/libvir.c python/libvirt-python-api.xml:

add a python binding for virNodeGetCellsFreeMemory
Daniel
This commit is contained in:
Daniel Veillard
2007-12-07 08:41:01 +00:00
parent 33ed12a754
commit 205dd748b9
3 changed files with 48 additions and 0 deletions

View File

@@ -75,5 +75,12 @@
<arg name='domain' type='virDomainPtr' info='a domain object'/>
<arg name='path' type='char *' info='the path for the interface device'/>
</function>
<function name="virNodeGetCellsFreeMemory" file='python'>
<info>Returns the availbale memory for a list of cells</info>
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
<arg name='startCell' type='int' info='first cell in the list'/>
<arg name='maxCells' type='int' info='number of cell in the list'/>
<return type='int *' info="the list available memory in the cells"/>
</function>
</symbols>
</api>