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

Re: [Xen-users] Am I running under Xen?



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.

Better you check the value of /sys/hypervisor/uuid. If it's all zeros, then it would be dom0, otherwise a paravirtualized domU. To check whether it's a fully virtualized guest or not, you need to check the output of "dmidecode" from within the guest. An HVM guest's dmidecode should show as below

Handle 0x0100
       DMI type 1, 27 bytes.
       System Information
               Manufacturer: Xen
               Product Name: HVM domU
               Version: 3.1.0-53.1.13.el5
               Serial Number: 1298ca87-b138-d1c5-026a-8e2d79c70602
               UUID: 1298CA87-B138-D1C5-026A-8E2D79C70602
               Wake-up Type: Power Switch

--Sadique

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
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®.