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] How to detect if a machine is a Virtual machine ??

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to detect if a machine is a Virtual machine ??
From: Jorge Armando Medina <jmedina@xxxxxxxxxxxxxxx>
Date: Mon, 21 Dec 2009 17:37:57 -0600
Delivery-date: Mon, 21 Dec 2009 15:38:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B2FA23C.6030006@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Computación Grafica de México
References: <4B2FA23C.6030006@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Sachin Goel wrote:
Hi,

Just curious to know, if there is any way that given a terminal to a box, we can determine is it a physical machine or a virtual machine ?
Probably checking kernel process, check your process table for:

[xenwatch]
[xenbus]

Another clue is checking the kernle suffix, for example:

# uname -r
2.6.24-23-xen

and the proc files:

/proc/xen/capabilities

Hope this helps.



Thanks,
Sachin.

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


--
Jorge Armando Medina
Computación Gráfica de México
Web: http://www.e-compugraf.com
Tel: 55 51 40 72, Ext: 124
Email: jmedina@xxxxxxxxxxxxxxx
GPG Key: 1024D/28E40632 2007-07-26
GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632


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