[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176227799547.3934766.1180879279941291815.b4-ty@google.com>
Date: Tue, 4 Nov 2025 09:45:06 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Kai Huang <kai.huang@...el.com>, Xiaoyao Li <xiaoyao.li@...el.com>,
Rick Edgecombe <rick.p.edgecombe@...el.com>, Dan Williams <dan.j.williams@...el.com>,
Binbin Wu <binbin.wu@...ux.intel.com>
Subject: Re: [PATCH v2 0/2] KVM: VMX: Handle SEAMCALL or TDCALL VM-Exits
On Thu, 16 Oct 2025 11:21:46 -0700, Sean Christopherson wrote:
> Add VM-Exit handlers for SEAMCALL and TDCALL as the instructions are gated
> only by VMXON, and so a buggy/misbehaving guest will likely be terminated
> (because KVM bails with KVM_INTERNAL_ERROR_UNEXPECTED_EXIT_REASON) if the
> guest executes SEAMCALL or TDCALL.
>
> v2:
> - Apply the behavior only to VMX. KVM can't inject #UDs for TDX, and the
> TDX-Module is supposed to handle SEAMCALL. [Chao]
> - Fix nested exit handling (inverted return). [Xiaoyao]
> - WARN if the TDX-Module punts a SEAMCALL exit to KVM. [Xiaoyao]
> - Fix typos. [Binbin]
>
> [...]
Applied patch 1 to kvm-x86 fixes.
[1/2] KVM: VMX: Inject #UD if guest tries to execute SEAMCALL or TDCALL
https://github.com/kvm-x86/linux/commit/9d7dfb95da2c
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists