[libvirt] [PATCH python] Correct virDomainMigrateToURI3 definition

Jason Andryuk andryuk at aero.org
Wed Jun 18 18:17:20 UTC 2014


Ping?

(Adding Daniel Veillard, listed as owner for libvirt-python.git, as this was previously just sent to the list.)

On 6/5/2014 11: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.'/>
> 




More information about the libvir-list mailing list