[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] How to determine if I am running under Xen?
On Fri, 2007-09-21 at 14:04 +1000, 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? "cpuid eax=0x40000000" will return XenVMMXenVMM in (ebx,ecx,edx) or you could just look for the Xen PCI device -- see unmodified_drivers in the xen source for examples of both. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |