python: add python binding for virDomainGetMemoryParameters

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

View File

@@ -221,10 +221,10 @@
<arg name='params' type='virMemoryParameterPtr' info='pointer to memory tunable objects'/>
</function>
<function name='virDomainGetMemoryParameters' file='python'>
<info>Get the memory 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 memory 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='virMemoryParameterPtr' info='pointer to memory tunable objects'/>
<arg name='flags' type='int' info='an OR&apos;ed set of virDomainModificationImpact'/>
</function>
<function name='virConnectListStoragePools' file='python'>
<info>list the storage pools, stores the pointers to the names in @names</info>