angler-fishThe Vulnerability History Project

KVM: Emulate local APIC in kernel

      Because lightweight exits (exits which don't involve userspace) are many
times faster than heavyweight exits, it makes sense to emulate high usage
devices in the kernel.  The local APIC is one such device, especially for
Windows and for SMP, so we add an APIC model to kvm.

It also allows in-kernel host-side drivers to inject interrupts without
going through userspace.

[compile fix on i386 from Jindrich Makovicka]

Signed-off-by: Yaozu (Eddie) Dong <Eddie.Dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
    
commit 97222cc8316328965851ed28d23f6b64b4c912d2
+1 -1
+36 -17
+40 -1
+1 -2
+42 -10
+933
+6
+6
+2 -2
expand_less