From: Dan Magenheimer Subject: RE: Live migration fails due to c/s 20627 Date: Tue, 15 Dec 2009 11:20:23 -0800 (PST) Message-ID: <57c748fc-49ef-4f2f-9c98-92a1dc12116f@default> References: <4B27D4A9.7070203@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4B27D4A9.7070203@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , "Xu, Dongxiao" Cc: xen-devel@lists.xensource.com, kurt.hackel@oracle.com, "Dugger, Donald D" , Keir Fraser , "Nakajima, Jun" , "Zhang, Xiantao" List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Jeremy Fitzhardinge [mailto:jeremy@goop.org] > Sent: Tuesday, December 15, 2009 11:26 AM > To: Xu, Dongxiao > Cc: Dan Magenheimer; Keir Fraser; xen-devel@lists.xensource.com; Kurt > Hackel; Dugger, Donald D; Nakajima, Jun; Zhang, Xiantao > Subject: Re: Live migration fails due to c/s 20627 >=20 >=20 > On 12/15/2009 09:24 AM, Xu, Dongxiao wrote: > > If CPU has rdtsc but no rdtscp, then the VM exec control bit in VMCS > > won't be turned on. Therefore if rdtscp instruction runs,=20 > it will encounter > > invalid op code directly but no VMEXIT. > > =20 >=20 > Ah, right. You'd need to make that particular illegal=20 > instruction vmexit. Or make ALL illegal instructions vmexit, decode, if rdtscp emulate it, else vmenter again. Is this not done anyplace else in the hvm code?