From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCA1c-0006rn-Ge for qemu-devel@nongnu.org; Wed, 21 Aug 2013 11:08:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCA1X-0006fm-FQ for qemu-devel@nongnu.org; Wed, 21 Aug 2013 11:08:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCA1W-0006fR-Rw for qemu-devel@nongnu.org; Wed, 21 Aug 2013 11:08:39 -0400 Message-ID: <5214D7E0.4000008@redhat.com> Date: Wed, 21 Aug 2013 09:08:16 -0600 From: Eric Blake MIME-Version: 1.0 References: <1377069536-12658-1-git-send-email-lilei@linux.vnet.ibm.com> <1377069536-12658-12-git-send-email-lilei@linux.vnet.ibm.com> In-Reply-To: <1377069536-12658-12-git-send-email-lilei@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xXh26E78RAvrS0f0jh4WTMMBAJdH0O7AG" Subject: Re: [Qemu-devel] [PATCH 11/18] migration: introduce capability localhost List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lei Li Cc: aarcange@redhat.com, aliguori@us.ibm.com, quintela@redhat.com, qemu-devel@nongnu.org, mrhines@linux.vnet.ibm.com, lagarcia@br.ibm.com, pbonzini@redhat.com, rcj@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xXh26E78RAvrS0f0jh4WTMMBAJdH0O7AG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/21/2013 01:18 AM, Lei Li wrote: > Introduce migration capability localhost. >=20 > Signed-off-by: Lei Li > --- > include/migration/migration.h | 3 +++ > migration.c | 12 ++++++++++++ > qapi-schema.json | 8 +++++++- > 3 files changed, 22 insertions(+), 1 deletions(-) >=20 > +++ b/qapi-schema.json > @@ -629,10 +629,16 @@ > # @auto-converge: If enabled, QEMU will automatically throttle down th= e guest > # to speed up convergence of RAM migration. (since 1.6) > # > +# @localhost: If enabled, QEMU will support localhost migration. This = feature > +# allows live upgrade of a running QEMU instance by doing = localhost > +# migration with page flipping. It requires the source and= destination > +# are both on localhost. Disabled by default. (since 1.7) Logically, ALL new migration parameters should be disabled by default, as that provides the sanest back-compat setting. Your last sentence is therefore redundant. But this is certainly a much nicer implementation than your v1 attempt. If I understand correctly, attempts to use 'local:...' are rejected unless you first use migrate-set-capabilities to turn on localhost migration support. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --xXh26E78RAvrS0f0jh4WTMMBAJdH0O7AG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSFNfhAAoJEKeha0olJ0NqtQ8IAKncYdQU6EbgD9pJBobWAim3 UIwwPF33ZBv0o9KA46zpTRXFr3Nszy9AXHEs/gPu5EsNyXgScQ0tw3ZyVdyHNP/M EqE2jMiRAQ8qzAa5LxeSZVGajm6NDk1Z6IcYBem3JbcnLM0ENdYiq4BibPQzdNH7 ectrmDaZx2LBo4s09SrpAd+f1RfwYowLU5KjNPGz9CcOGvJmgQHyv/Z81XcZackB IcNhWn17rJS1IWzCiFn0jTPFV9kt/B9y7b/UX7r6RTJMgyt84tdDCx2Qp6501XTG eIhrFaY2Qwzn7H2sd3GJQdNo44Tm0iJHiJr3L6y58H0BsvIn+UBYkWlZdnfC2zk= =S3tE -----END PGP SIGNATURE----- --xXh26E78RAvrS0f0jh4WTMMBAJdH0O7AG--