qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v11 2/9] Add migration capabilites


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v11 2/9] Add migration capabilites
Date: Tue, 22 May 2012 07:08:33 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/22/2012 06:56 AM, Orit Wasserman wrote:
> Add migration capabiltes that can be queried by the management.
> The managment can query the source QEMU and the destination QEMU in order to
> verify both support some  migration capability (currently only XBZRLE).
> The managment can enable a capabilty for the next migration by using
> migrate_set_parameter command.
> 

>  ##
> +# @MigrationCapability
> +#
> +# Migration capabilities enumaration
> +#
> +# @xbzrle: current migration supports xbzrle
> +#
> +# Since: 1.1

1.2

> +##
> +{ 'enum': 'MigrationCapability',
> +  'data': ['xbzrle'] }
> +

> +
> +##
> +# @migrate_set_parameter
> +#
> +# Set the following migration parameters (like xbzrle )
> +##
> +# Since: 1.2
> +##
> +{ 'command': 'migrate-set-parameter', 'data': { 'parameter': 'str' } }

This requires libvirt to issue multiple monitor commands in a row.
Also, it's pretty poorly typed.  It might be nicer to provide:

{ 'command': 'migrate-set-parameters',
  'data': { 'parameters': ['MigrationCapability'] } }

so that I can set multiple parameters in one call.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]