1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-04 12:21:57 +03:00

Correct virDomainMigrateToURI3 definition

dconnuri is a string, so update the definition to match.  Without this,
the generated python would fail when passed a string.
This commit is contained in:
Jason Andryuk
2014-06-05 11:43:25 -04:00
committed by Eric Blake
parent 4db97751bd
commit 98a1ae0f1f

View File

@ -562,7 +562,7 @@
<info>Migrate the domain object from its current host to the destination host <info>Migrate the domain object from its current host to the destination host
given by URI.</info> given by URI.</info>
<arg name='domain' type='virDomainPtr' info='a domain object'/> <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='params' type='char *' info='dictionary with migration parameters'/>
<arg name='flags' type='unsigned int' info='an OR&apos;ed set of virDomainMigrateFlags'/> <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.'/> <return type='int' info='0 in case of success, -1 in case of failure.'/>