QEMU: Difference between revisions

 
===KVM===
QEMU can run operating systems at near native speeds with KVM, the Linux kernel's API for utilizing CPU native virtualization support. With KVM, instead of using the Tiny Code Generator (TCG) to _emulate_''emulate'' each vCPU present in the configured machine, QEMU will instead request KVM run the vCPU, greatly increasing the performance of the virtualized system. Most of QEMU's hardware emulation still runs regardless of whether or not KVM is enabled, however some performance sensitive chipset emulation functionality is by default moved into KVM, increasing performance further.
 
You can enable KVM by adding <kbd>-accel kvm</kbd> to the startup arguments, or by appending <kbd>,accel=kvm</kbd> to your <kbd>-machine</kbd>/<kbd>-M</kbd> option.