From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.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 [thread overview]
Message-ID: <bug-116731-28872@https.bugzilla.kernel.org/> (raw)
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.
next reply other threads:[~2016-04-19 17:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 17:46 bugzilla-daemon [this message]
2016-04-19 17:47 ` [Bug 116731] KVM guest fails to boot OVMF firmware with SMP enabled bugzilla-daemon
2016-04-19 20:53 ` bugzilla-daemon
2016-04-19 22:04 ` bugzilla-daemon
2016-04-22 14:35 ` bugzilla-daemon
2016-04-22 22:08 ` bugzilla-daemon
2016-06-07 18:50 ` bugzilla-daemon
2016-06-08 11:04 ` bugzilla-daemon
2016-06-10 6:38 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-116731-28872@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.