From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
pbonzini@redhat.com, Kevin Cheng <chengkev@google.com>
Cc: jmattson@google.com, yosry.ahmed@linux.dev, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] KVM: SVM: Don't allow L1 intercepts for instructions not advertised
Date: Mon, 12 Jan 2026 09:38:54 -0800 [thread overview]
Message-ID: <176823877360.1368641.767900599632930102.b4-ty@google.com> (raw)
In-Reply-To: <20251215192510.2300816-1-chengkev@google.com>
On Mon, 15 Dec 2025 19:25:10 +0000, Kevin Cheng wrote:
> If a feature is not advertised in the guest's CPUID, prevent L1 from
> intercepting the unsupported instructions by clearing the corresponding
> intercept in KVM's cached vmcb12.
>
> When an L2 guest executes an instruction that is not advertised to L1,
> we expect a #UD exception to be injected by L0. However, the nested svm
> exit handler first checks if the instruction intercept is set in vmcb12,
> and if so, synthesizes an exit from L2 to L1 instead of a #UD exception.
> If a feature is not advertised, the L1 intercept should be ignored.
>
> [...]
Applied to kvm-x86 svm, thanks!
[1/1] KVM: SVM: Don't allow L1 intercepts for instructions not advertised
https://github.com/kvm-x86/linux/commit/1d1722e52fcd
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2026-01-12 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 19:25 Kevin Cheng
2026-01-12 17:38 ` Sean Christopherson [this message]
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=176823877360.1368641.767900599632930102.b4-ty@google.com \
--to=seanjc@google.com \
--cc=chengkev@google.com \
--cc=jmattson@google.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=yosry.ahmed@linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®