From: Keir Fraser Subject: Re: XENFEAT_supervisor_mode_kernel ??? Date: Thu, 20 Nov 2008 22:55:12 +0000 Message-ID: References: <4925E7E6.1030701@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4925E7E6.1030701@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: mukesh.rathor@oracle.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 20/11/08 22:42, "Mukesh Rathor" 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