Re: Bug#538202: ITP: virt-what -- detect if we are running in a virtual machine
"Manoj Srivastava" <email@example.com> wrote:
Virt-what is more accurate than Imvirt, version 1.0 can tell the
difference between Xen Dom0 and DomU. The new version (1.1, released
on 23 july 2009) can tell the difference between QEMU and KVM, and can
tell if you are running inside a Xen fullvirt guest.
This sounds cool. Does it support user-mode-linux as well?
At the moment, it can detect VMWare, Microsoft Versions of Virtual PC,
OpenVZ, Xen-HVM, Xen-DomU, Xen-Dom0, KVM, and QEMU.
I'm betting the author would be willing to incorporate checks for other
systems if they can be easilly done in a bash script.