|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Am I running under Xen?
Hi,
On Sun, Mar 02, 2008 at 11:05:01PM -0500, jim burns wrote:
> On Sunday 02 March 2008 09:56:54 pm Tom Horsley wrote:
> > Is there a standard idiom most folks use to ask the
> > question: Am I a linux that was just booted under Xen?
>
> Probably the existence of /proc/xen, altho that's true for dom0 also.
You can test whether you are dom0 or domU by looking at
/proc/xen/capabilities.
A modified dom0 can of course lie to you about this though, so it
isn't a very satisfactory answer to the hypothetical philosophical
question of "are we in a virtual machine?" Unfortunately there is
no Morpheus with the blue and red pills.
Cheers,
Andy
signature.asc
Description: Digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|