[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] How to determine if executing under Xen



Hello,
 
I apologize if this has been asked before.  I searched but could not find a similar question.
 
 
I am writing a device driver targeted for Linux 2.6.16 running under Xen 3.0.  Is there an easy mechanism for my code to determine if Linux is running as a Xen domain rather than natively?  I want to behave slightly differently in each case.

Thanks - Martin


Be one of the first to try Windows Live Mail. Windows Live Mail.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.