[libvirt-python PATCH 01/23] update virDomainGetVcpus xml API description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Python api returns a tuple with the vcpus information.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 libvirt-override-api.xml | 4 ++--
 1 file 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&apos;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'>
-- 
2.5.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]