1 From 12949af5b296e6a5717df5189647559cc35677a4 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Mon, 4 Jul 2016 15:02:26 +0200
4 Subject: [PATCH 01/15] Revert "target-i386: disable LINT0 after reset"
6 This reverts commit b8eb5512fd8a115f164edbbe897cdf8884920ccb.
8 hw/intc/apic_common.c | 9 +++++++++
9 1 file changed, 9 insertions(+)
11 diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c
12 index c3829e31b5..d4411a2fd4 100644
13 --- a/hw/intc/apic_common.c
14 +++ b/hw/intc/apic_common.c
15 @@ -257,6 +257,15 @@ static void apic_reset_common(DeviceState *dev)
16 info->vapic_base_update(s);
22 + * LINT0 delivery mode on CPU #0 is set to ExtInt at initialization
23 + * time typically by BIOS, so PIC interrupt can be delivered to the
24 + * processor when local APIC is enabled.
26 + s->lvt[APIC_LVT_LINT0] = 0x700;
30 /* This function is only used for old state version 1 and 2 */