[PATCH python] Correct virDomainMigrateToURI3 definition

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

 



dconnuri is a string, so update the definition to match.  Without this,
the generated python would fail when passed a string.
---
 libvirt-override-api.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index d5b25b5..935e04d 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -562,7 +562,7 @@
       <info>Migrate the domain object from its current host to the destination host
             given by URI.</info>
       <arg name='domain' type='virDomainPtr' info='a domain object'/>
-      <arg name='dconnuri' type='virConnectPtr' info='URI for target libvirtd if @flags includes VIR_MIGRATE_PEER2PEER'/>
+      <arg name='dconnuri' type='char *' info='URI for target libvirtd if @flags includes VIR_MIGRATE_PEER2PEER'/>
       <arg name='params' type='char *' info='dictionary with migration parameters'/>
       <arg name='flags' type='unsigned int' info='an OR&apos;ed set of virDomainMigrateFlags'/>
       <return type='int' info='0 in case of success, -1 in case of failure.'/>
-- 
1.8.3.1

--
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]