[libvirt] Re: [Fedora-xen] ANNOUNCE: virt-what 1.0 - a shell script to detect if you are running in a virtual machine

Richard W.M. Jones rjones at redhat.com
Sun Aug 31 18:00:46 UTC 2008


On Sat, Aug 30, 2008 at 04:21:31PM -0400, Steve Thompson wrote:
> On Wed, 27 Aug 2008, Richard W.M. Jones wrote:
>
>> I'm pleased to announce the first release of 'virt-what', which is a
>> simple shell script that detects if you are running inside a virtual
>> machine, and prints some "facts" about that virtual machine.  This is
>> a frequently requested feature.
>> [...]
>
> On dom0 running a xen kernel (CentOS 5.2), I get:
>
> 	xen
> 	xen-dom0
>
> whether or not xend is started.
> On PV guests, I get the same output (they have /proc/xen/privcmd
> too). On HVM guests, I get no output.

Oh dear, that's a bug.  Which version of xen are you running?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the libvir-list mailing list