From: Zihui Guo <youzih27@gmail.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: Chao Gao <chao.gao@intel.com>,
Binbin Wu <binbin.wu@linux.intel.com>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] KVM: nVMX: Check the event injected into the HLT state on nested VM-Enter
Date: Thu, 3 Dec 2026 06:05:49 +0000 [thread overview]
Message-ID: <20261203060549.39268-1-youzih27@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-247213@kernel.org>
Right. vm_entry_intr_info_field keeps its valid bit until the next
nested VM-Exit, so with this patch KVM_SET_NESTED_STATE rejects the
saved state of an L2 that executed HLT after L1 injected a #PF. v2 will
check the injected event only when a nested run is pending, as is done
for the guest's IA32_EFER.
Thanks,
Zihui
next parent reply other threads:[~2026-12-03 6:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <sashiko-outbox-247213@kernel.org>
2026-12-03 6:05 ` Zihui Guo [this message]
2026-12-03 5:34 [PATCH 0/3] KVM: nVMX: Add missing guest-state checks " Zihui Guo
2026-12-03 5:34 ` [PATCH 3/3] KVM: nVMX: Check the event injected into the HLT state " Zihui Guo
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=20261203060549.39268-1-youzih27@gmail.com \
--to=youzih27@gmail.com \
--cc=binbin.wu@linux.intel.com \
--cc=chao.gao@intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
/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®