diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2014-09-25 17:02:49 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2014-09-26 12:01:17 +0200 |
commit | a03b509d1cf90e83ad7e2f0e35eae51ddee78bcf (patch) | |
tree | 3483b75b6b0cfa3b89191b28afa0ab139d468c6f /libvirt-override-api.xml | |
parent | 4acfb169400497da2a82a849dc8aaa65f88ac6d1 (diff) | |
download | libvirt-python-a03b509d1cf90e83ad7e2f0e35eae51ddee78bcf.tar.gz |
Implement new virNodeAllocPages API
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 51d8273..4fe3c4d 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -649,5 +649,14 @@ <arg name='flags' type='unsigned int' info='bitwise-OR of virDomainBlockCopyFlags'/> <return type='int' info='0 if the operation has started, -1 on failure'/> </function> + <function name="virNodeAllocPages" file='python'> + <info>Allocate or free some pages in the huge pages pool</info> + <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/> + <arg name='pages' type='char *' info='dictionary of desired page sizes, key is page size, value is page count'/> + <arg name='startCell' type='int' info='optional first cell in the list'/> + <arg name='cellCount' type='int' info='optional number of cell in the list'/> + <arg name='flags' type='unsigned int' info='an OR'ed set of virNodeAllocPagesFlags'/> + <return type='int' info='the number of nodes successfully adjusted or -1 in case of an error'/> + </function> </symbols> </api> |