diff options
author | Lei Li <lilei@linux.vnet.ibm.com> | 2011-11-15 17:02:49 +0800 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-11-30 11:36:11 -0700 |
commit | 4d6d685288f849db152fcd8e5985fc7605764606 (patch) | |
tree | bd9c24e17ee830615842ff81ff98c065e49f77ff /libvirt-override-api.xml | |
parent | 21dca4e5631900b37401f20b8fb837fef8a43b89 (diff) | |
download | libvirt-python-4d6d685288f849db152fcd8e5985fc7605764606.tar.gz |
Support virDomain{Set, Get}BlockIoTune in the python APIv0.9.8-rc2v0.9.8-rc1
Python support for both setting and getting block I/O throttle.
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index ef02f34..6aad49c 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -375,5 +375,21 @@ <arg name='flags' type='unsigned int' info='flags, currently unused, pass 0.'/> <return type='unsigned long' info='current max migration speed, or None in case of error'/> </function> + <function name='virDomainSetBlockIoTune' file='python'> + <info>Change the I/O tunables for a block device</info> + <arg name='dom' type='virDomainPtr' info='pointer to the domain'/> + <arg name='disk' type='const char *' info='disk name'/> + <arg name='params' type='virTypedParameterPtr' info='Pointer to blkio tuning params object'/> + <arg name='flags' type='unsigned int' info='an OR'ed set of virDomainModificationImpact'/> + <return type='int' info='0 in case of success, -1 in case of failure'/> + </function> + <function name='virDomainGetBlockIoTune' file='python'> + <info>Get the I/O tunables for a block device</info> + <arg name='dom' type='virDomainPtr' info='pointer to the domain'/> + <arg name='disk' type='const char *' info='disk name'/> + <arg name='params' type='virTypedParameterPtr' info='Pointer to blkio tuning params object'/> + <arg name='flags' type='unsigned int' info='an OR'ed set of virDomainModificationImpact'/> + <return type='int' info='0 in case of success, -1 in case of failure'/> + </function> </symbols> </api> |