Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

can some one please clarify this.

I am new to kvm and created two guest instances one linux and one windows.

On both Guests, CPU is showing as QEMU virtual CPU,why is it so?

if kvm utilizes hardware virtualization and Qemu an emulator then what is the role of kvm in virtualization,since in this case its showing only emulated cpu,which i believe is the work of Qemu and not kvm.

On xen, which i am familiar guests cpu are shown as it like an actual hardware,even if it is using qemu drivers.

share|improve this question

closed as not a real question by Tom O'Connor, RobM, mgorven, mdpc, Khaled Mar 1 '13 at 18:10

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

By default, QEMU/KVM exposes only a subset of CPU features to guests, so that a VM can be migrated from one CPU to another (e.g. from an Intel Xeon to an AMD Opteron) without any ill effects.

You can override this behavior if you wish, by passing parameters on the qemu command line, or setting the appropriate CPU options in your GUI/XML front end. You can select specific CPU features to expose, or to pass through all CPU features.

If you choose to override any of the parameters, then you will only be able to migrate the VM to another CPU which also has those features. If you choose to pass all host CPU features to the guest, then it will also expose the name of the CPU, and you will be unable to migrate the VM to a CPU of a different type.

The difference between QEMU and KVM is that QEMU is full processor emulation, while KVM provides full hardware virtualization (HVM) using the processor's native virtualization capability (Intel VT-x or AMD SVM) to provide near-native CPU performance. As a result, the former is much slower than the latter.

share|improve this answer

What's in a name? that which we call a rose

By any other name would smell as sweet;

And so also true of virtualised CPUs.

share|improve this answer
Definitely i am not the one who gave - to your answer :).It looks like there are people who have this doubt. – kevin Feb 28 '13 at 8:51
Eh. Some people are tossers. – Tom O'Connor Feb 28 '13 at 9:07

qemu a user space program emulates hosts hardware utilizing /dev/kvm interface.KVM itself doesnot have any capability to emulate.

share|improve this answer
This does not answer my question fully,but got some idea. – kevin Feb 28 '13 at 9:57

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