]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/tdx: Remove enumeration of GetQuote in tdx_handle_get_tdvmcall_info()
authorXiaoyao Li <xiaoyao.li@intel.com>
Thu, 3 Jul 2025 02:40:17 +0000 (10:40 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Jul 2025 13:28:20 +0000 (15:28 +0200)
commitb57999bb258349fabe497c8ff70277b5e5b281e2
tree09a0ef2837be43a049c0cf2f6b48fba2a3f87f64
parent29f1ba338baf60a9e455b6fdc37489ca1efe25aa
i386/tdx: Remove enumeration of GetQuote in tdx_handle_get_tdvmcall_info()

GHCI is finalized with the <GetQuote> being one of the base VMCALLs, and
not enuemrated via <GetTdVmCallInfo>.

Adjust tdx_handle_get_tdvmcall_info() to match with GHCI.

Opportunistically fix the wrong indentation and explicitly set the
ret to TDG_VP_VMCALL_SUCCESS (in case KVM leaves unexpected value).

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250703024021.3559286-2-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm/tdx.c
target/i386/kvm/tdx.h