[libvirt] [PATCH python] Correct virDomainMigrateToURI3 definition

Eric Blake eblake at redhat.com
Thu Jun 19 13:46:37 UTC 2014


On 06/05/2014 09:43 AM, Jason Andryuk wrote:
> 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.'/>
> 

ACK and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140619/eff58a08/attachment-0001.sig>


More information about the libvir-list mailing list