diff options
author | Jan Kiszka | 2011-10-16 11:16:36 +0200 |
---|---|---|
committer | Jan Kiszka | 2012-01-19 12:14:40 +0100 |
commit | dae01685280cef9b70ade9167340b5373eada9e8 (patch) | |
tree | 82cbf906ab8d6c84e7e4b648734c5e518103b818 /hw/apic.h | |
parent | apic: Introduce apic_report_irq_delivered (diff) | |
download | qemu-dae01685280cef9b70ade9167340b5373eada9e8.tar.gz qemu-dae01685280cef9b70ade9167340b5373eada9e8.tar.xz qemu-dae01685280cef9b70ade9167340b5373eada9e8.zip |
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>
Diffstat (limited to 'hw/apic.h')
-rw-r--r-- | hw/apic.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -10,7 +10,6 @@ int apic_accept_pic_intr(DeviceState *s); void apic_deliver_pic_intr(DeviceState *s, int level); void apic_deliver_nmi(DeviceState *d); int apic_get_interrupt(DeviceState *s); -void apic_report_irq_delivered(int delivered); void apic_reset_irq_delivered(void); int apic_get_irq_delivered(void); void cpu_set_apic_base(DeviceState *s, uint64_t val); |