diff options
author | Alex Jia <ajia@redhat.com> | 2011-12-29 13:22:52 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2011-12-29 14:07:47 +0800 |
commit | 370bcd017bbe2d55edc9123a3f3a03764c6579cc (patch) | |
tree | 034454a6e65e734f173b859321c54800adfeb4c3 /tests/basic.py | |
parent | a1936e396cb0ba4f33a45afa6d351e0c860e05bc (diff) | |
download | libvirt-python-v6-370bcd017bbe2d55edc9123a3f3a03764c6579cc.tar.gz libvirt-python-v6-370bcd017bbe2d55edc9123a3f3a03764c6579cc.tar.xz libvirt-python-v6-370bcd017bbe2d55edc9123a3f3a03764c6579cc.zip |
python: Fix problems of virDomain{Set, Get}BlockIoTune bindings
The parameter 'params' is useless for virDomainGetBlockIoTune API,
and the return value type should be a virTypedParameterPtr but not
integer. And "PyArg_ParseTuple" in functions
libvirt_virDomain{Set,Get}BlockIoTune misses format unit for "format"
argument.
* libvirt-override-api.xml: Remove useless the parameter 'params'
from virDomainGetBlockIoTune API, and change return value type from
integer to virTypedParameterPtr.
* python/libvirt-override.c: Add the missed format units.
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=770683
Signed-off-by: Alex Jia <ajia@redhat.com>
Diffstat (limited to 'tests/basic.py')
0 files changed, 0 insertions, 0 deletions