summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>2011-02-22 13:30:33 +0800
committerEric Blake <eblake@redhat.com>2011-03-10 17:53:16 -0700
commitf9b0014ec10e3c031e0cdbd90ae9c2ba5698804e (patch)
tree1a19d8ce38568ea1b410e451c4cdbb39db88e85b /libvirt-override-api.xml
parent15c255ca8a58335d1e8f2a352740e37ff384d573 (diff)
downloadlibvirt-python-v6-f9b0014ec10e3c031e0cdbd90ae9c2ba5698804e.tar.gz
libvirt-python-v6-f9b0014ec10e3c031e0cdbd90ae9c2ba5698804e.tar.xz
libvirt-python-v6-f9b0014ec10e3c031e0cdbd90ae9c2ba5698804e.zip
libvirt: add virDomain{Get,Set}BlkioParametersCVE-2011-1146
Add virDomainSetBlkioParameters virDomainGetBlkioParameters Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index f209608..54deeb5 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -162,6 +162,18 @@
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
<arg name='params' type='virSchedParameterPtr' info='pointer to scheduler parameter objects'/>
</function>
+ <function name='virDomainSetBlkioParameters' file='python'>
+ <info>Change the blkio tunables</info>
+ <return type='int' info='-1 in case of error, 0 in case of success.'/>
+ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='params' type='virBlkioParameterPtr' info='pointer to blkio tunable objects'/>
+ </function>
+ <function name='virDomainGetBlkioParameters' file='python'>
+ <info>Get the blkio parameters, the @params array will be filled with the values.</info>
+ <return type='int' info='-1 in case of error, 0 in case of success.'/>
+ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='params' type='virBlkioParameterPtr' info='pointer to blkio tunable objects'/>
+ </function>
<function name='virDomainSetMemoryParameters' file='python'>
<info>Change the memory tunables</info>
<return type='int' info='-1 in case of error, 0 in case of success.'/>