Received: from eggs.gnu.org ([2001:4830:134:3::10]:34413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YufzM-00059i-V4 for qemu-devel@nongnu.org; Tue, 19 May 2015 07:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YufzH-0000AG-WB for qemu-devel@nongnu.org; Tue, 19 May 2015 07:47:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YufzH-0000A4-Oj for qemu-devel@nongnu.org; Tue, 19 May 2015 07:47:07 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4JBl7Df027065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 19 May 2015 07:47:07 -0400 From: Paolo Bonzini Date: Tue, 19 May 2015 13:47:04 +0200 Message-Id: <1432036024-29399-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] target-i386: wake up processors that receive an SMI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lersek@redhat.com An SMI should definitely wake up a processor in halted state! This lets OVMF boot with SMM on multiprocessor systems, although it halts very soon after that with a "CpuIndex != BspIndex" assertion failure. Signed-off-by: Paolo Bonzini --- target-i386/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 7b6f9e4..4c4496b 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -2982,6 +2982,7 @@ static bool x86_cpu_has_work(CPUState *cs) return ((cs->interrupt_request & CPU_INTERRUPT_HARD) && (env->eflags & IF_MASK)) || (cs->interrupt_request & (CPU_INTERRUPT_NMI | + CPU_INTERRUPT_SMI | CPU_INTERRUPT_INIT | CPU_INTERRUPT_SIPI | CPU_INTERRUPT_MCE)); -- 2.4.0