Bug#538202: ITP: virt-what -- detect if we are running in a virtual machine
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.
Thanks,
manoj
--
"Hold still while I flame you." Karl Lehenbauer
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: