top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is actual use of QEMU in virtualization and what role KVM play?

+2 votes
415 views
What is actual use of QEMU in virtualization and what role KVM play?
posted May 13, 2017 by Vikram Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Hi Vikram, this is very good and basic question and most of the new comers have confusion on this.
I also did some study and want to share my learning with you.
QEMU (Quick Emulator) is a hyper visor while KVM is a hardware accelerator. KVM itself is fully utilized by QEMU hypervisor.
If you create a Virtual machine with virt type "QEMU", the performance of VM will be slow and if you create virtual machine using the KVM as virt type then VM performance will be faster than the VM created by using QEMU. CPU instruction gets executed fast in VM that is using kvm as hardware accelerator.

This different performance is observed because of different hardware accelerators used.
In case of QEMU "virt type", tcg accelerator is used while VM created using KVM virt type uses "kvm" hardware accelerator.
In case of KVM (Kernal Virtual Machine), hypervisor would be able to map instructions meant to execute on virtual CPU will be mapped to physical CPU. That's why performance becomes good. In case of intel x86 hardware, VT-X technology supports CPU slice concepts. Each CPU slice is mapped to Virtual CPU to each VM and it is achieved with the help of KVM + QEMU.

answer Jul 30, 2017 by Harshita
Similar Questions
0 votes

Is there any hardware dependency to launch virtual machine ? if yes then what all things I should verify before going ahead to install hyper visor and all other required packages ?

+1 vote

Did anyone tried running linux machine from a thumb drive in non-virtualized hardware? If so, please share the detailed steps

+1 vote

On what basis a particular hypervisor is considered as type1 or type2 ?

...