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

Re: [Xen-devel] fxsave, fnsave, ltr hang for guest OS.

To: <alarson@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] fxsave, fnsave, ltr hang for guest OS.
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 19 Nov 2010 18:01:38 +0000
Cc:
Delivery-date: Fri, 19 Nov 2010 10:06:02 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=E2WDQX1muwh8eC/xJ2T5Rz7eNUAUALhod0X8sNEAlo8=; b=J1LO2MLWcLJUpWT0e4fGyZgsMHwU65VMzraGc97p/azOoa5yjFPSRn3EPM9oxT7+43 9EVJapq69/WpWUcNiLKimKbmgHx/BVcUqlRlXFv7OtAKnyE5WdiUPOqOgMhkW3S1mBHU r3xJ3FQwak98AIbNMZZciQSsjnu+yUp3CBj4g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=Qgc+ghvKKaSjPJo5MZnv34jxpRApG9FnwklOKzCc/M8zjEnnBvomhfDQ0HOBETe1Zf rcHQsFqJmtDkr2dgl8sGR/gh72PUi+b2ZagPLOPg/zmypuscFPpKjl2DwYVpSToWdm4N GY+yQXVSYu4Q4hJ82Px5v2ZVYYWWNtf0WoNC0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF3B7E2E1D.D258A01F-ON862577E0.005A6335-862577E0.00605D29@xxxxxxxx>
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: AcuIE8+qCglZoY80xEmiiRodUpGxrg==
Thread-topic: [Xen-devel] fxsave, fnsave, ltr hang for guest OS.
User-agent: Microsoft-Entourage/12.27.0.100910
On 19/11/2010 17:32, "alarson@xxxxxxxx" <alarson@xxxxxxxx> wrote:

> Just to report final resolution.  The problem turned out to be that
> the destination of the fnsave was to a page specifying read only
> access and the OS was depending on CR0.WP=0 to permit write access in
> kernel mode.  Xen doesn't allow this configuration unless using HAP
> (Hardware Assisted Paging).

To be precise, we have a go at emulating the instruction, but our emulator
is incomplete. Running a whole OS in CR0.WP=0 mode is pretty much doomed if
running on Xen without HAP. I think there is some supported OS that does do
some small amount of stuff with CR0.WP=0, and we are complete enough to work
in that case.

 -- Keir

> Many thanks to Keir for his invaluable assistance with this.



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