Monday, May 6, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 8669  / 3 Years ago, tue, may 4, 2021, 3:17:58

After installing Ubuntu 11.10 and copying my KVM images which were created on Ubuntu 11.04 over to the new system, I notice that Virt-manager says it's using QEMU and not KVM. Also when running virsh version it says Running hypervisor: QEMU 0.14.1.



However, when I run kvm-ok it says INFO: /dev/kvm exists and KVM acceleration can be used. Also, the XML file of my VM clearly states it should use KVM: <domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>.



Furthermore, lsmod |grep kvm shows the following (when the VM is running):



kvm_intel              61643  3
kvm 383822 1 kvm_intel


So how do I know if KVM or QEMU is being used? And why am I getting such contradictory output of these different commands?


More From » virtualization

 Answers
4

Because kvm builds on top of QEMU, it's just a hw acceleration.



With this you can see that the actual process running your VM is a kvm process.



ps xa| grep "[b]in/kvm"

[#42464] Wednesday, May 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ovierman

Total Points: 445
Total Questions: 108
Total Answers: 111

Location: Libya
Member since Fri, Oct 30, 2020
4 Years ago
;