[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |