55
edits
(→KVM) |
|||
*The host operating system does not run well with KVM (e.g. [[Windows 98]] does not run with KVM on most systems)
===System Emulation With KVM===
With KVM, the Linux kernel's API for utilizing CPU native virtualization support, QEMU can run operating systems at near native speeds.
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'' 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.
|