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] Uses of &frame_table[xfn]

To: "Muli Ben-Yehuda" <mulix@xxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: RE: [Xen-devel] Uses of &frame_table[xfn]
From: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>
Date: Wed, 28 Dec 2005 17:49:47 -0800
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 29 Dec 2005 01:53:56 +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: AcYL/aO83x6zuSynQqCmEytwtPkJmQAG30iw
Thread-topic: [Xen-devel] Uses of &frame_table[xfn]
On Wednesday, December 28, 2005 2:24 PM,  Muli Ben-Yehuda <> wrote:
> On Wed, Dec 28, 2005 at 02:16:21PM -0800, Magenheimer, Dan (HP Labs
> Fort Collins) wrote: 
> 
>> On a related note, what is the cleanest way from Linux to
>> determine if it is running as domain0 or not?
> 
> Various places check (xen_start_info->flags & SIF_INITDOMAIN).

You could also read your domid from xenstore or using libxenctrl.

But a better question, especially as we move forward with dom0
disagregation and privilege reduction, is what do you want to do based
on this information?

Joseph Cihula
(Linux) Software Security Architect
Open Source Technology Center
Intel Corp.

*** These opinions are not necessarily those of my employer ***

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

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