Re: [Qemu-devel] [PATCH 01/17] QAPI: introduce migration capability x_unix_page_flipping

2014-03-03 Thread Eric Blake
On 12/02/2013 02:19 AM, Lei Li wrote:
> Introduce x_unix_page_flipping to MigrationCapability for
> localhost migration.
> 
> Signed-off-by: Paolo Bonzini 
> Signed-off-by: Lei Li 
> ---
>  qapi-schema.json |   12 +++-
>  1 files changed, 11 insertions(+), 1 deletions(-)

I don't see this in git; is it something you are still interested in
adding?  If so, your subject line and commit message use '_'...

> 
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 83fa485..ea910ef 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -685,10 +685,20 @@
>  # @auto-converge: If enabled, QEMU will automatically throttle down the guest
>  #  to speed up convergence of RAM migration. (since 1.6)
>  #
> +# @x-unix-page-flipping: If enabled, QEMU can optimize migration when the

...while the code correctly uses '-'.

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



signature.asc
Description: OpenPGP digital signature


[Qemu-devel] [PATCH 01/17] QAPI: introduce migration capability x_unix_page_flipping

2013-12-02 Thread Lei Li
Introduce x_unix_page_flipping to MigrationCapability for
localhost migration.

Signed-off-by: Paolo Bonzini 
Signed-off-by: Lei Li 
---
 qapi-schema.json |   12 +++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index 83fa485..ea910ef 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -685,10 +685,20 @@
 # @auto-converge: If enabled, QEMU will automatically throttle down the guest
 #  to speed up convergence of RAM migration. (since 1.6)
 #
+# @x-unix-page-flipping: If enabled, QEMU can optimize migration when the
+#  destination is a QEMU process that runs on the same host as
+#  the source (as is the case for live upgrade).  If the migration
+#  transport is a Unix socket, QEMU will flip RAM pages directly to
+#  the destination, so that memory is only allocated twice for the
+#  source and destination processes. Disabled by default.
+#  Experimental: will get rid of the x tag after further testing with
+#  the new vmsplice. (since 2.0)
+#
 # Since: 1.2
 ##
 { 'enum': 'MigrationCapability',
-  'data': ['xbzrle', 'x-rdma-pin-all', 'auto-converge', 'zero-blocks'] }
+  'data': ['xbzrle', 'x-rdma-pin-all', 'auto-converge', 'zero-blocks',
+   'x-unix-page-flipping'] }
 
 ##
 # @MigrationCapabilityStatus
-- 
1.7.7.6