From: bugzilla-daemon@kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 219618] New: qemu cannot not start with -cpu hypervisor=off parameter
Date: Sat, 21 Dec 2024 08:56:41 +0000 [thread overview]
Message-ID: <bug-219618-28872@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=219618
Bug ID: 219618
Summary: qemu cannot not start with -cpu hypervisor=off
parameter
Product: Virtualization
Version: unspecified
Hardware: AMD
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: kvm
Assignee: virtualization_kvm@kernel-bugs.osdl.org
Reporter: athul.krishna.kr@protonmail.com
Regression: No
Device: Asus Zephyrus GA402RJ
CPU: Ryzen 7 6800HS
Kernel: 6.13.0-rc3-g800f6e23e031
Problem:
After kernel 6.12, my qemu windows 11 vm won't start when using '-cpu
hypervisor=off'.
Commit:
74a0e79df68a8042fb84fd7207e57b70722cf825 is the first bad commit
commit 74a0e79df68a8042fb84fd7207e57b70722cf825
Author: Sean Christopherson <seanjc@google.com>
Date: Fri Aug 2 11:19:26 2024 -0700
KVM: SVM: Disallow guest from changing userspace's MSR_AMD64_DE_CFG value
Inject a #GP if the guest attempts to change MSR_AMD64_DE_CFG from its
*current* value, not if the guest attempts to write a value other than
KVM's set of supported bits. As per the comment and the changelog of the
original code, the intent is to effectively make MSR_AMD64_DE_CFG read-
only for the guest.
Opportunistically use a more conventional equality check instead of an
exclusive-OR check to detect attempts to change bits.
Fixes: d1d93fa90f1a ("KVM: SVM: Add MSR-based feature support for
serializing LFENCE")
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20240802181935.292540-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next reply other threads:[~2024-12-21 8:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 8:56 bugzilla-daemon [this message]
2024-12-21 8:57 ` [Bug 219618] qemu cannot not start with -cpu hypervisor=off parameter bugzilla-daemon
2024-12-22 7:44 ` [Bug 219618] [REGRESSION, BISECTED] " bugzilla-daemon
2024-12-31 16:27 ` bugzilla-daemon
2024-12-31 16:27 ` [Bug 219618] [SOLVED] " bugzilla-daemon
2025-01-02 2:37 ` 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-219618-28872@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@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.