WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: Live migration fails due to c/s 20627

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Subject: [Xen-devel] Re: Live migration fails due to c/s 20627
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 15 Dec 2009 19:31:28 +0000
Cc: "kurt.hackel@xxxxxxxxxx" <kurt.hackel@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "Dugger, Donald D" <donald.d.dugger@xxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Delivery-date: Tue, 15 Dec 2009 11:32:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <57c748fc-49ef-4f2f-9c98-92a1dc12116f@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acp9u9djXLUTeNDESpO/39ndiz4y0AAAVrvm
Thread-topic: Live migration fails due to c/s 20627
User-agent: Microsoft-Entourage/12.23.0.091001
On 15/12/2009 19:20, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

>> Ah, right.  You'd need to make that particular illegal
>> 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?

Oh, in fact I am wrong in my previous email, replying to Jeremy, claiming we
do not trap-and-emulate on illegal instructions. In fact we *do*, as it got
added to handle SYSCALL vs SYSENTER when migrating between Intel and AMD
hosts.

So all that would need to be done is to add RDTSCP support to x86_emulate.c,
as it's currently missing. But that's pretty trivial.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel