From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkCHU-0002yJ-Jz for qemu-devel@nongnu.org; Tue, 13 May 2014 08:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkCHO-00086J-VA for qemu-devel@nongnu.org; Tue, 13 May 2014 08:58:04 -0400 Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:63376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkCHO-00086F-Kb for qemu-devel@nongnu.org; Tue, 13 May 2014 08:57:58 -0400 Received: by mail-ee0-f48.google.com with SMTP id e49so388990eek.21 for ; Tue, 13 May 2014 05:57:57 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 13 May 2014 14:57:22 +0200 Message-Id: <1399985844-788-14-git-send-email-pbonzini@redhat.com> In-Reply-To: <1399985844-788-1-git-send-email-pbonzini@redhat.com> References: <1399985844-788-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 13/15] apic: do not accept SIPI on the bootstrap processor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini SIPI interrupts are ignored on the bootstrap. Never accept one. Cc: Andreas Faerber Reviewed-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini --- hw/intc/apic_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c index 7137653..ce3d903 100644 --- 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); -- 1.8.3.1