From: Keir Fraser Subject: Re: Live migration fails due to c/s 20627 Date: Tue, 15 Dec 2009 19:25:38 +0000 Message-ID: References: <4B27D4A9.7070203@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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: Dan Magenheimer , "xen-devel@lists.xensource.com" , "kurt.hackel@oracle.com" , "Dugger, Donald D" , "Nakajima, Jun" , "Zhang, Xiantao" List-Id: xen-devel@lists.xenproject.org On 15/12/2009 18:25, "Jeremy Fitzhardinge" wrote: > 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, it will encounter >> invalid op code directly but no VMEXIT. >> > > Ah, right. You'd need to make that particular illegal instruction vmexit. We'd need to VMEXIT on any guest #UD and then call into our x86 emulator. There's just a slight feeling that could have wider impact and implications than the specific case we'd want to handle here. Then again, #UD is rare and usually unexpected, so perhaps such a seemingly broad change is not so dangerous. -- Keir