]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: TDX: Add accessors VMX VMCS helpers
authorIsaku Yamahata <isaku.yamahata@intel.com>
Tue, 12 Nov 2024 07:35:50 +0000 (15:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2025 18:20:52 +0000 (14:20 -0400)
commitfe1e6d483fcfd46ee16436749bc73a5b1fc89324
treec49a4d207536acd435d311476209364139a99ecb
parent3b725e972fd003218397437bae81ee309ed26322
KVM: TDX: Add accessors VMX VMCS helpers

TDX defines SEAMCALL APIs to access TDX control structures corresponding to
the VMX VMCS.  Introduce helper accessors to hide its SEAMCALL ABI details.

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Co-developed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Co-developed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Message-ID: <20241112073551.22070-1-yan.y.zhao@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/tdx.c
arch/x86/kvm/vmx/tdx.h