diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2015-08-20 15:15:18 -0700 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2015-10-05 08:20:28 +0200 |
commit | b8222860959fbc92c1fc73d005ed505ae338003a (patch) | |
tree | 08c454b3f1116f4c839a7173440569cb974add53 | |
parent | 1d7df3c97cfdbb22de9335976e4ac334b8e83356 (diff) | |
download | libvirt-python-b8222860959fbc92c1fc73d005ed505ae338003a.tar.gz |
update virDomainGetVcpus xml API description
Python api returns a tuple with the vcpus information.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
-rw-r--r-- | libvirt-override-api.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index d1a9c26..1a0e314 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -239,8 +239,8 @@ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/> </function> <function name='virDomainGetVcpus' file='python'> - <info>Extract information about virtual CPUs of domain, store it in info array and also in cpumaps if this pointer is'nt NULL.</info> - <return type='int' info='the number of info filled in case of success, -1 in case of failure.'/> + <info>Extract information about virtual CPUs of domain, store it in info array and also in cpumaps.</info> + <return type='char *' info='None in case of error, returns a tuple of vcpu info and vcpu map.'/> <arg name='domain' type='virDomainPtr' info='pointer to domain object, or NULL for Domain0'/> </function> <function name='virDomainPinVcpu' file='python'> |