|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] determining if kernel is dom0 kernel or not.
On Wed, 2007-07-11 at 20:18 +0100, Keir Fraser wrote:
> If you want to detect dom0 specifically then that's trickier --
> /proc/xen/privcmd for example exists even in a domU, if the kernel is
> dom0-capable. You'd have to be root and then try a privileged hypercall. :-)
Doesn't /proc/xen/capabilities contain something different on dom0 vs.
domU?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|