On Sat, Jul 25 2009, Joe Smith wrote:
"Manoj Srivastava" <srivasta@debian.org> 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.
root@cinder:~# cat /proc/cpuinfo
processor : 0
vendor_id : User Mode Linux
model name : UML
mode : skas
host : Linux anzu 2.6.30.2-anzu #3 SMP Thu Jul 23 15:24:12 CDT 2009 x86_64
bogomips : 548.86
It would be appreciated if the ITP'er could convey this to
upstream. The output above should leave no doubt that we are running in
an UML machine.