/[qemu]
ViewVC logotype

Revision 5627


Jump to revision: Previous Next
Author: aliguori
Date: Wed Nov 5 16:04:33 2008 UTC (15 years ago)
Changed paths: 10
Log Message:
Add KVM support to QEMU

This patch adds very basic KVM support.  KVM is a kernel module for Linux that
allows userspace programs to make use of hardware virtualization support.  It
current supports x86 hardware virtualization using Intel VT-x or AMD-V.  It
also supports IA64 VT-i, PPC 440, and S390.

This patch only implements the bare minimum support to get a guest booting.  It
has very little impact the rest of QEMU and attempts to integrate nicely with
the rest of QEMU.

Even though this implementation is basic, it is significantly faster than TCG.
Booting and shutting down a Linux guest:

w/TCG:  1:32.36 elapsed  84% CPU

w/KVM:  0:31.14 elapsed  59% CPU

Right now, KVM is disabled by default and must be explicitly enabled with
 -enable-kvm.  We can enable it by default later when we have had better
testing.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


Changed paths:

Path Details
Directorytrunk/Makefile.target modified , text changed
Directorytrunk/configure modified , text changed
Directorytrunk/cpu-defs.h modified , text changed
Directorytrunk/cpu-exec.c modified , text changed
Directorytrunk/exec.c modified , text changed
Directorytrunk/hw/acpi.c modified , text changed
Directorytrunk/monitor.c modified , text changed
Directorytrunk/target-i386/cpu.h modified , text changed
Directorytrunk/target-i386/helper.c modified , text changed
Directorytrunk/vl.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5