]> git.proxmox.com Git - qemu.git/commit
apic: Factor out base class for KVM reuse
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 16 Oct 2011 09:16:36 +0000 (11:16 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Jan 2012 11:14:40 +0000 (12:14 +0100)
commitdae01685280cef9b70ade9167340b5373eada9e8
tree82cbf906ab8d6c84e7e4b648734c5e518103b818
parent343270ea8777fa95ce2c287fc00c2eaa53255265
apic: Factor out base class for KVM reuse

The KVM in-kernel APIC model will reuse parts of the user space model
while providing the same frontend view to guest and most management
interfaces.

Factor out an APIC base class to encapsulate those parts that will be
shared by user space and KVM model. This class offers callback hooks for
init, base/tpr setting, and the external NMI delivery that will be
set via APICCommonInfo structure and implemented specifically in the
subclasses.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Makefile.target
hw/apic.c
hw/apic.h
hw/apic_common.c [new file with mode: 0644]
hw/apic_internal.h [new file with mode: 0644]