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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] XENFEAT_supervisor_mode_kernel ???
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Thu, 20 Nov 2008 15:03:21 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Nov 2008 15:03:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C54B9B50.1F74E%keir.fraser@xxxxxxxxxxxxx>
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>
Organization: Oracle Corp
References: <C54B9B50.1F74E%keir.fraser@xxxxxxxxxxxxx>
Reply-to: mukesh.rathor@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
Oh, cool. I was looking at syscalls on PV x86_64 guests, and one of my thoughts was running in HVM mode but do all MMU stuff using hypercalls like PV. Other than having to change the hyp domain create portions, setting things up, is there a technical reason it can't be done today... thanks, Mukesh

Keir Fraser wrote:
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