Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 9 down vote accepted

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"
share|improve this answer
Fantastic, that clearly shows I'm really using KVM. Thanks! – iGadget Oct 29 '11 at 12:10

By itself, KVM does not perform any emulation. Instead, a user-space program uses the /dev/kvm interface to set up the guest VM's address space, feeds it simulated I/O and maps its video display back onto the host's. QEMU versions 0.10.0 and later make use of this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.