From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 116731] New: KVM guest fails to boot OVMF firmware with SMP enabled Date: Tue, 19 Apr 2016 17:46:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.29.136]:54082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752918AbcDSRrE (ORCPT ); Tue, 19 Apr 2016 13:47:04 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B905220340 for ; Tue, 19 Apr 2016 17:47:01 +0000 (UTC) Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org [172.20.200.51]) by mail.kernel.org (Postfix) with ESMTP id 192E6202E9 for ; Tue, 19 Apr 2016 17:47:00 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=116731 Bug ID: 116731 Summary: KVM guest fails to boot OVMF firmware with SMP enabled Product: Virtualization Version: unspecified Kernel Version: 4.2 and later Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@kernel-bugs.osdl.org Reporter: jonathan.n.boeing@gmail.com Regression: No If I enable SMP and an OVMF firmware in my VM, QEMU either hangs at boot or dies with the error message: KVM: entry failed, hardware error 0x80000021 A minimal QEMU command line to repro is: qemu-system-x86_64 -enable-kvm -smp cpus=2 -drive if=pflash,format=raw,file=OVMF.fd Running host kernel 4.4.6, and I bisected the failure to OVMF commit 94941c8: UefiCpuPkg: CpuDxe: broadcast MTRR changes to APs Doing some debugging, I built the latest OVMF from git and bisected the failure to kernel commit (merged for 4.2rc1) d28bc9d: KVM: x86: INIT and reset sequences are different To clarify, the failing config is: Host kernel d28bc9d+ (~4.2rc1), OVMF 94941c8+, and SMP enabled Working configs are: Host kernels 4.1-4.4, OVMF tip, and SMP disabled Host kernels 4.1-4.4, SeaBIOS (instead of OVMF), and SMP enabled Host kernel 4.1, OVMF tip, and SMP enabled Host kernels 4.1-4.4, OVMF prior to 94941c8, and SMP enabled The host system is running a quad-core Intel Penryn CPU (which supports VMX but not EPT). Per OVMF dev Laszlo Ersek, the failure is related to lacking EPT support. -- You are receiving this mail because: You are watching the assignee of the bug.