[libvirt] [PATCH python] Correct virDomainMigrateToURI3 definition

Jason Andryuk andryuk at aero.org
Thu Jun 5 15:43:25 UTC 2014


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'ed set of virDomainMigrateFlags'/>
       <return type='int' info='0 in case of success, -1 in case of failure.'/>
-- 
1.8.3.1




More information about the libvir-list mailing list