On Wed, Jul 05, 2017 at 08:13:42AM +0000, Wojciech Sciesinski wrote:
> Hi
> 
> I tried us virt-what v. 1.14 on Ubuntu 16.04 installed in VirtualBox virtual 
> machine.
> 
> The command returns two results:
> virtualbox
> kvm

This might not be a bug, if virtualbox is exporting the KVMKVMKVM
CPUID leaf (meaning that the hypervisor is either using KVM or has
KVM-like properties).

On the other hand you could try patching virt-what in the obvious way:

 if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then
     echo virtualbox
+    skip_qemu_kvm=true
 fi

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to