Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] privilege level of PV domain

To: J?«ärgen Gro?©Î <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] privilege level of PV domain
From: tgingold@xxxxxxx
Date: Mon, 25 Jun 2007 10:08:07 +0200
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 25 Jun 2007 01:05:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <467F748B.7060207@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <467F61DA.2050405@xxxxxxxxxxxxxxxxxxx> <20070625073422.GC4427%yamahata@xxxxxxxxxxxxx> <467F748B.7060207@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting J?«ärgen Gro?©Î <juergen.gross@xxxxxxxxxxxxxxxxxxx>:

> Isaku Yamahata wrote:
> > On Mon, Jun 25, 2007 at 08:34:02AM +0200, J?«ärgen Gro?©Î wrote:
> Thanks!
> My plan is to make a patch first which uses a '#define' for the privilege
> level instead the hard coded '2'. This should minimize a possible negative
> impact.

Enabling 3 levels is certainly a good idea.
Just be very careful: the 2 is hard-coded and the level compression is
often done simply by or-ing 2.  You have to replace the or with a max!

Tristan.

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