From: Avi Kivity Subject: [PATCH QEMU-KVM 1/7] test: issue EOI after IPI Date: Mon, 21 Sep 2009 11:55:32 +0300 Message-ID: <1253523338-22784-2-git-send-email-avi@redhat.com> References: <1253523338-22784-1-git-send-email-avi@redhat.com> Cc: Marcelo Tosatti To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:3845 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755442AbZIUIzh (ORCPT ); Mon, 21 Sep 2009 04:55:37 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8L8tfLm020997 for ; Mon, 21 Sep 2009 04:55:41 -0400 In-Reply-To: <1253523338-22784-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Otherwise, we can't take more than one IPI. Signed-off-by: Avi Kivity --- kvm/user/test/lib/x86/smp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kvm/user/test/lib/x86/smp.c b/kvm/user/test/lib/x86/smp.c index a3a5472..25f0cae 100644 --- a/kvm/user/test/lib/x86/smp.c +++ b/kvm/user/test/lib/x86/smp.c @@ -14,6 +14,7 @@ static volatile int ipi_done; static __attribute__((used)) void ipi() { ipi_function(ipi_data); + apic_write(APIC_EOI, 0); ipi_done = 1; } -- 1.6.4.1