From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752182AbbJMKeP (ORCPT ); Tue, 13 Oct 2015 06:34:15 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:32969 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbbJMKeO (ORCPT ); Tue, 13 Oct 2015 06:34:14 -0400 From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: rkrcmar@redhat.com, lersek@redhat.com Subject: [PATCH 0/2] KVM: x86: fix deliver of SMIs to halted VCPUs Date: Tue, 13 Oct 2015 12:34:06 +0200 Message-Id: <1444732448-9112-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While SeaBIOS only uses synchronous SMI delivery through port 0xb2, OVMF also uses APIC delivery, and it is buggy. This is enough to run OVMF with SMM enabled and multiple processors, up to a UEFI shell, but it literally takes minutes to get there. However, the same behavior is visible with KVM disabled, so it may be a firmware bug instead. Paolo Paolo Bonzini (2): KVM: x86: clean up kvm_arch_vcpu_runnable KVM: x86: fix SMI to halted VCPU arch/x86/kvm/x86.c | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) -- 1.8.3.1