From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1J6m-0000Ik-1G for qemu-devel@nongnu.org; Mon, 22 Jul 2013 12:37:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1J6h-0007e3-O3 for qemu-devel@nongnu.org; Mon, 22 Jul 2013 12:37:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1J6g-0007di-Lb for qemu-devel@nongnu.org; Mon, 22 Jul 2013 12:37:07 -0400 Message-ID: <51ED5FAF.1040309@redhat.com> Date: Mon, 22 Jul 2013 10:37:03 -0600 From: Eric Blake MIME-Version: 1.0 References: <1374475799-18523-1-git-send-email-owasserm@redhat.com> In-Reply-To: <1374475799-18523-1-git-send-email-owasserm@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EiNLllRREWGSKwoSwLARAdFui6pfNgJGe" Subject: Re: [Qemu-devel] [PATCH 1/2] Fix real mode guest migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman Cc: aliguori@us.ibm.com, ehabkost@redhat.com, gleb@redhat.com, mtosatti@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com, afaerber@suse.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EiNLllRREWGSKwoSwLARAdFui6pfNgJGe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/22/2013 12:49 AM, Orit Wasserman wrote: > Older KVM versions save CS dpl value to an invalid value for real mode = guests > (0x3). This patch detect this situation when loading CPU state and set = all the > segments dpl to zero. > This will allow migration from older KVM on host without unrestricted g= uest > to hosts with restricted guest support. > For example migration from a Penryn host (with kernel 2.6.32) to > a Westmere host. > + /* > + Real mode guest segments register DPL should be zero. > + Older KVM version were setting it worngly. s/worngly/wrongly/ > + Fixing it will allow live migration from such host that don't ha= ve > + restricted guest support to an host with unrestricted guest supp= ort s/an host/a host/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --EiNLllRREWGSKwoSwLARAdFui6pfNgJGe 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJR7V+vAAoJEKeha0olJ0NqtM0H/1bmQiVeGyHkxr1MaZ2MPZSN H2TPBfcwretbzAAQbvMujil1vEE8b7dH37GwDQKaPy8l1Gt4GG+DvyHyYajYm0hv 4eSAT8B5xodcxecbMobVDTrV4Lr2h8N0O9HtXBs+84WoUjH6Egz4OHRvwQzrPchk /lPMBzX2H9AkPNCW2gI5sBF30zzeuAIPjtyMrlM5NEjbEObBL4xu+mNCnWa4Mv9W 0aPJqZ/7ue8QjOxIre8kVNcynJYRfaCqm5DsomBvcUdMzzarvhdtLm+ReKggRFlv 0t3CHCJJztlZXcMuk8aSQ2xd0xVkQmnYg3VBTNIEW5aeWo51yrhRiYa5cG1Mmyg= =fN/9 -----END PGP SIGNATURE----- --EiNLllRREWGSKwoSwLARAdFui6pfNgJGe--