[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12894e27-7e80-4b48-97cf-5b1b98b51059@linux.intel.com>
Date: Fri, 20 Jun 2025 15:09:05 +0800
From: Binbin Wu <binbin.wu@...ux.intel.com>
To: Paolo Bonzini <pbonzini@...hat.com>, seanjc@...gle.com
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
rick.p.edgecombe@...el.com, kai.huang@...el.com, adrian.hunter@...el.com,
reinette.chatre@...el.com, xiaoyao.li@...el.com, tony.lindgren@...el.com,
isaku.yamahata@...el.com, yan.y.zhao@...el.com,
mikko.ylinen@...ux.intel.com, kirill.shutemov@...el.com, jiewen.yao@...el.com
Subject: Re: [PATCH v2 0/3] TDX attestation support and GHCI fixup
On 6/20/2025 2:01 AM, Paolo Bonzini wrote:
> This is a refresh of Binbin's patches with a change to the userspace
> API. I am consolidating everything into a single KVM_EXIT_TDX and
> adding to the contract that userspace is free to ignore it *except*
> for having to reenter the guest with KVM_RUN.
>
> If in the future this does not work, it should be possible to introduce
> an opt-in interface. Hopefully that will not be necessary.
>
> Paolo
>
> Binbin Wu (3):
> KVM: TDX: Add new TDVMCALL status code for unsupported subfuncs
> KVM: TDX: Handle TDG.VP.VMCALL<GetQuote>
> KVM: TDX: Exit to userspace for GetTdVmCallInfo
>
> Documentation/virt/kvm/api.rst | 62 ++++++++++++++++++++++++-
> arch/x86/include/asm/shared/tdx.h | 1 +
> arch/x86/kvm/vmx/tdx.c | 77 ++++++++++++++++++++++++++++---
> include/uapi/linux/kvm.h | 22 +++++++++
> 4 files changed, 154 insertions(+), 8 deletions(-)
>
Tested the patch set with the TDX kvm-unit-tests, TDX enhanced KVM selftests,
booting a Linux TD, and TDX related test cases defined in the LKVS test suite
as described in:
https://github.com/intel/lkvs/blob/main/KVM/docs/lkvs_on_avocado.md
Xiaoyao has tested the flow for GetQuote and had some comments for small issues
on qemu patch:
https://mail.gnu.org/archive/html/qemu-devel/2025-06/msg03154.html
Powered by blists - more mailing lists