summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-09-14 22:42:19 +0800
committerOsier Yang <jyang@redhat.com>2012-09-17 13:55:46 +0800
commit48e9333bec0e96b667ba5a17093ac4aeef3491a3 (patch)
treedd8a183c56dc0fed0ff3a9f92d0ce4063eeccf2a /libvirt-override-api.xml
parent270cebde5a7c3b735620f79ffd4463b9f1dc2e97 (diff)
downloadlibvirt-python-split-48e9333bec0e96b667ba5a17093ac4aeef3491a3.tar.gz
libvirt-python-split-48e9333bec0e96b667ba5a17093ac4aeef3491a3.tar.xz
libvirt-python-split-48e9333bec0e96b667ba5a17093ac4aeef3491a3.zip
node_memory: Expose the APIs to Python bindingsv0.10.2-rc2v0.10.2-rc1v0.10.2
* python/libvirt-override-api.xml: (Add document to describe the APIs). * python/libvirt-override.c: (Implement the API wrappers manually)
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 4f609ee..b76fb4e 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -529,5 +529,18 @@
<arg name='domain' type='virDomainPtr' info='a domain object'/>
<arg name='flags' type='unsigned int' info='unused, always pass 0'/>
</function>
+ <function name='virNodeSetMemoryParameters' file='python'>
+ <info>Change the node memory tunables</info>
+ <return type='int' info='-1 in case of error, 0 in case of success.'/>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='params' type='virTypedParameterPtr' info='pointer to the memory tunable objects'/>
+ <arg name='flags' type='int' info='unused, always pass 0'/>
+ </function>
+ <function name='virNodeGetMemoryParameters' file='python'>
+ <info>Get the node memory parameters</info>
+ <return type='str *' info='None in case of error, returns a dictionary of params'/>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='flags' type='int' info='unused, always pass 0'/>
+ </function>
</symbols>
</api>