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

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

To: jim burns <jim_burn@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Am I running under Xen?
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Mon, 03 Mar 2008 13:05:13 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 02 Mar 2008 23:35:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200803022305.02496.jim_burn@xxxxxxxxxxxxx>
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>
References: <20080302215654.6358d3b4@zooty> (sfid-20080302_215956_275152_E537443E) <200803022305.02496.jim_burn@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
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

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