[libvirt] [PATCH] Fix description of virStorageVolGetInfo()

Matthias Bolte matthias.bolte at googlemail.com
Fri Jun 18 11:03:54 UTC 2010


2010/6/16 Daniel P. Berrange <berrange at redhat.com>:
> On Tue, Jun 15, 2010 at 11:44:13AM +0200, Philipp Hahn wrote:
>>
>> Probably a copy-paste-bug in python/libvirt-override-api.xml:
>> virStorageVolGetInfo() extracts information about a "storage volume",
>> not the "storage pool" as virStoragePoolGetInfo() does.
>>
>> Signed-off-by: Philipp Hahn <hahn at univention.de>
>> ---
>>  python/libvirt-override-api.xml |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>
>> diff --git a/python/libvirt-override-api.xml b/python/libvirt-override-api.xml
>> index be28b40..ca16993 100644
>> --- a/python/libvirt-override-api.xml
>> +++ b/python/libvirt-override-api.xml
>> @@ -183,7 +183,7 @@
>>        <arg name='pool' type='virStoragePoolPtr' info='a storage pool object'/>
>>      </function>
>>      <function name='virStorageVolGetInfo' file='python'>
>> -      <info>Extract information about a storage pool. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted.</info>
>> +      <info>Extract information about a storage volume. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted.</info>
>>        <return type='int *' info='the list of information or None in case of error'/>
>>        <arg name='vol' type='virStorageVolPtr' info='a storage vol object'/>
>>      </function>
>
> ACK
>
>
> Daniel
>

Okay, pushed it.

Matthias




More information about the libvir-list mailing list