Re: virt-what returns two results for Ubuntu 16.04 on VirtualBox 5.1.22 r115126

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux