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] XENFEAT_supervisor_mode_kernel ???

To: <mukesh.rathor@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] XENFEAT_supervisor_mode_kernel ???
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 20 Nov 2008 22:55:12 +0000
Cc:
Delivery-date: Thu, 20 Nov 2008 14:55:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4925E7E6.1030701@xxxxxxxxxx>
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: AclLYwtJSacE3LdWEd2DIQAWy6hiGQ==
Thread-topic: [Xen-devel] XENFEAT_supervisor_mode_kernel ???
User-agent: Microsoft-Entourage/11.4.0.080122
On 20/11/08 22:42, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

> I'm trying ot figure out what that's all about? I see in 64 PV domU, it's
> being checked prior to returning from syscall.  On the xen side, I see it tied
> to supervisor_mode_kernel, but the only info I find is changelog comment which
> suggests it's purpose is to allow dom0 run in ring 0... So why the check in a
> domU kernel?

It's useful if the hypervisor runs the guest kernel in ring 0. Current Xen
doesn't do that, but in future we may run 64-bit PV guests in HVM context as
that may actually be faster.

 -- Keir



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