projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d7a28
)
pc: apic_common: Restore APIC ID to initial ID on reset
author
Igor Mammedov
<imammedo@redhat.com>
Wed, 19 Oct 2016 12:05:36 +0000
(14:05 +0200)
committer
Eduardo Habkost
<ehabkost@redhat.com>
Mon, 24 Oct 2016 19:29:15 +0000
(17:29 -0200)
APIC ID should be restored to initial APIC ID
state after Reset and Power-On.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/intc/apic_common.c
patch
|
blob
|
history
diff --git
a/hw/intc/apic_common.c
b/hw/intc/apic_common.c
index
30f2af0
..
ea3c8ca
100644
(file)
--- a/
hw/intc/apic_common.c
+++ b/
hw/intc/apic_common.c
@@
-243,6
+243,7
@@
static void apic_reset_common(DeviceState *dev)
bsp = s->apicbase & MSR_IA32_APICBASE_BSP;
s->apicbase = APIC_DEFAULT_ADDRESS | bsp | MSR_IA32_APICBASE_ENABLE;
+ s->id = s->initial_apic_id;
s->vapic_paddr = 0;
info->vapic_base_update(s);