python: add python binding for virDomainGetBlkioParameters

This commit is contained in:
Hu Tao
2011-07-27 10:13:08 +08:00
committed by Michal Privoznik
parent 1768bf63ed
commit 9d5cef1872
2 changed files with 79 additions and 6 deletions

View File

@@ -208,10 +208,10 @@
<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.'/>
<info>Get the blkio parameters</info>
<return type='virSchedParameterPtr' info='None in case of error, returns a dictionary of params'/>
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
<arg name='params' type='virBlkioParameterPtr' info='pointer to blkio tunable objects'/>
<arg name='flags' type='int' info='an OR&apos;ed set of virDomainModificationImpact'/>
</function>
<function name='virDomainSetMemoryParameters' file='python'>
<info>Change the memory tunables</info>