]> git.proxmox.com Git - mirror_qemu.git/commit
kvm: x86: Add user space part for in-kernel APIC
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 16 Oct 2011 11:23:26 +0000 (13:23 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Jan 2012 11:14:42 +0000 (12:14 +0100)
commit680c1c6fd73c0cb3971938944936f18bbb7bad1b
tree82f323ff3cd5432f07a58139384688e453f3db7c
parent9b5b76d44930dc9266bb6d30862704cb3c86d2ca
kvm: x86: Add user space part for in-kernel APIC

This introduces the alternative APIC device which makes use of KVM's
in-kernel device model. External NMI injection via LINT1 is emulated by
checking the current state of the in-kernel APIC, only injecting a NMI
into the VCPU if LINT1 is unmasked and configured to DM_NMI.

MSI is not yet supported, so we disable this when the in-kernel model is
in use.

CC: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Makefile.target
hw/kvm/apic.c [new file with mode: 0644]
hw/pc.c
kvm.h
target-i386/kvm.c