|
|
|
|
|
|
|
|
|
|
xen-users
Fwd: Re: [Xen-users] xen guest detection.
---------- Forwarded Message ----------
Subject: Re: [Xen-users] xen guest detection.
Date: Tuesday 18 March 2008
From: jim burns <jim_burn@xxxxxxxxxxxxx>
To: deshantm@xxxxxxxxx
On Tuesday 18 March 2008 12:26:03 pm Todd Deshane wrote:
> This thread might give some ideas too:
> http://xen.markmail.org/search/?q=hvm%20detect%20shell%20script#query:hvm%2
>0detect%20shell%20script+page:1+mid:xurts65ly6b3xlch+state:results
Also check out this post from Sadique:
---------- Forwarded Message ----------
Subject: Re: [Xen-users] Am I running under Xen?
Date: Monday 03 March 2008
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
To: jim burns <jim_burn@xxxxxxxxxxxxx>
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
|
|
|
|
|