qemu-patch-raspberry4/target-i386
aliguori 7ba1e61953 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>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5627 c046a42c-6fe2-441c-8c8c-71466251a162
2008-11-05 16:04:33 +00:00
..
cpu.h Add KVM support to QEMU 2008-11-05 16:04:33 +00:00
exec.h Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
helper.c Add KVM support to QEMU 2008-11-05 16:04:33 +00:00
helper.h SYSENTER/SYSEXIT IA-32e implementation (Alexander Graf). 2008-09-25 18:16:18 +00:00
helper_template.h transformed TN into temporaries - add local temporaries usage when needed - optimized fcmovX 2008-05-25 17:26:41 +00:00
machine.c Fix restore of older snapshots for target-i386 on big endian hosts 2008-10-29 14:16:31 +00:00
op_helper.c Split CPUID from op_helper 2008-11-05 15:34:06 +00:00
ops_sse.h Fix crc32w decoding, fix a constant width in blendvpd. 2008-10-04 11:33:52 +00:00
ops_sse_header.h Implement SSE4.1, SSE4.2 (x86). 2008-10-04 03:27:44 +00:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO SVM rework 2008-05-28 16:16:54 +00:00
translate.c Fix crc32w decoding, fix a constant width in blendvpd. 2008-10-04 11:33:52 +00:00