OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43175fa
)
apic: do not accept SIPI on the bootstrap processor
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 19 Mar 2013 13:17:18 +0000
(14:17 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 13 May 2014 11:12:40 +0000
(13:12 +0200)
SIPI interrupts are ignored on the bootstrap. Never accept one.
Cc: Andreas Faerber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@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
7137653
..
ce3d903
100644
(file)
--- a/
hw/intc/apic_common.c
+++ b/
hw/intc/apic_common.c
@@
-200,7
+200,7
@@
void apic_init_reset(DeviceState *dev)
s->initial_count = 0;
s->initial_count_load_time = 0;
s->next_time = 0;
- s->wait_for_sipi =
1
;
+ s->wait_for_sipi =
!cpu_is_bsp(s->cpu)
;
if (s->timer) {
timer_del(s->timer);