From 370bcd017bbe2d55edc9123a3f3a03764c6579cc Mon Sep 17 00:00:00 2001 From: Alex Jia Date: Thu, 29 Dec 2011 13:22:52 +0800 Subject: 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 --- libvirt-override-api.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libvirt-override-api.xml') diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 07e4a78..704fee9 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -401,9 +401,8 @@ Get the I/O tunables for a block device - - + Read the contents of domain's disk device -- cgit