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] [PATCH] disable writable pagetables on FreeBSD

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] disable writable pagetables on FreeBSD
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Sat, 30 Apr 2005 08:12:46 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 30 Apr 2005 15:12:27 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bt+IczcE7ieifBbI3bo9zWK/5MwOOqNBNUDjh7meEmpTxPjvoBTvypmhzhgR6ZuYjy/GibUHr12ONqR4FfdaQD2BOHLO8XLA07T43IyIF/H3lLwclf4hcTgnxWFm1yMoTwVOXfkgnhGBjujoNWItneC432ca1nuhdVoFbZcMlB0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8b8c3df00717c8979b37a38909cc2ed0@xxxxxxxxxxxx>
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>
References: <b1fa2917050429193031aa10bf@xxxxxxxxxxxxxx> <8b8c3df00717c8979b37a38909cc2ed0@xxxxxxxxxxxx>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 4/30/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> 
> On 30 Apr 2005, at 03:30, Kip Macy wrote:
> 
> > Presumably as a result of recent changes, FreeBSD no longer works with
> > writable page tables. In the short-term I'm more interested in
> > functionality than performance. This patch disables them and fixes a
> > compile issue.
> 
> The obvious change is we reenabled batched wrpt mode. This requires the
> guest to deal with reading page directory entries that have the present
> bit (bit 0) cleared, even though that entry is logically present. :-)
> 
> You may hav eforgotten to handle this, since it was not required all
> the while we were using emulation mode only.

Entirely possible. There is only one place in the machine-independent
code where we check for it. Removing it there doesn't help. It may
require changing the machine-dependent code (I hope not, I'd rather it
be a bug in my port or in xen).

                 -Kip

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