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] virtualization of cr0 reg flags on hvm system

To: Garth Goodson <ggoodson@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] virtualization of cr0 reg flags on hvm system
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 10:35:00 +0100
Delivery-date: Wed, 23 Aug 2006 02:35:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b86d71df0608221013y673bdb0flecb147e6ffc9c042@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbGl2cspZnSTjKKEduhlQAKle7CWA==
Thread-topic: [Xen-devel] virtualization of cr0 reg flags on hvm system
User-agent: Microsoft-Entourage/11.2.5.060620


On 22/8/06 6:13 pm, "Garth Goodson" <ggoodson@xxxxxxxxx> wrote:

> I'm experimenting with getting a fully virtualized i386 system up and
> running on AMD HVM hardware under Xen.  (The reason for using i386 and
> not amd64 is that the amd64 dies early in the kernel loading process.)
> 
> I have found that the kernel boots until it reaches a point where it
> tries to load the cr0 register with the current cr0 value or'ed with a
> set of flags.  In particular the load_cr0 call below never seems to
> complete.  If I remove the CR0_WP (write-protect) flag, the kernel
> continues booting.
> 
> I'm using xen unstable (tip's changeset: 11217:6a8204e4619d).  Is the
> support of the WP flag a known issue?  Are there any fixes for it?

Most OSes run with CR0.WP set all the time, so it's certainly supported. You
might need to add some tracing to Xen to find out why this particular write
to CR0 is failing for you.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>