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] simple check for domU?

To: "Chris Bainbridge" <chris.bainbridge@xxxxxxxxx>, "NAHieu" <nahieu@xxxxxxxxx>
Subject: RE: [Xen-devel] simple check for domU?
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 12 Nov 2005 12:33:46 +1100
Cc: Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 12 Nov 2005 01:33:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXm/zzJqLl5qUd3QtOuw2idtpc17wAKOMYg
Thread-topic: [Xen-devel] simple check for domU?
> 
> If there's no easy and reliable way to do this maybe one should be
added?
> 

You probably need to clarify exactly what you are asking. If you are
running a -xen kernel instead of -xen[0U], then it's the same kernel but
differing in what privileges you have. In theory (I hope I'm right when
I say this), it is possible to give a domU kernel some access to
hardware, so even the line between a privileged or not kernel is a
little blurred. 

If you had CONFIG_ICONFIG set in your .config, you could grep for
various config options in proc, which would tell you if the kernel was
compiled with backend or frontend support, but that still doesn't really
help much.

James

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

<Prev in Thread] Current Thread [Next in Thread>