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(a)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
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://deltacloud.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|