WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Fwd: Re: [Xen-users] xen guest detection.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Fwd: Re: [Xen-users] xen guest detection.
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Wed, 19 Mar 2008 16:58:26 -0400
Delivery-date: Wed, 19 Mar 2008 13:59:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
----------  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

<Prev in Thread] Current Thread [Next in Thread>