|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] How to determine if I am running under Xen?
James Harper wrote:
Does anyone have a code snippet that I could use (in kernel space) to
determine if I am running under Xen or not in a HVM domain?
Thanks
James
I don't have a code snippet....but a script I saw around here basically
did "cat /proc/acpi/dsdt | grep xen" to determine whether they were on
an HVM domain or not. You can probably pretty easily call the same
functions that generate the dsdt from the kernel to determine the
information.
Chris Lalancette
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|