qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] TDX: Update the handling of <GetTdVmCallInfo> and implement <SetupEventNotifyInterrupt>
@ 2025-07-03  2:40 Xiaoyao Li
  2025-07-03  2:40 ` [PATCH 1/4] i386/tdx: Remove enumeration of GetQuote in tdx_handle_get_tdvmcall_info() Xiaoyao Li
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Xiaoyao Li @ 2025-07-03  2:40 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Marcelo Tosatti, qemu-devel, xiaoyao.li

It ends up as <GetQuote> is one of the base TDG.VP.VMCALL leaf, and it's
not enumerated via bit 0 of out R11 (the bit 0 becomes reserved).[1]

So patch 1 updates the handling of tdx_handle_get_tdvmcall_info().

[1] https://cdrdv2.intel.com/v1/dl/getContent/858626

Paolo,

Patch 2-4, enables <SetupEventNotifyInterrupt> in QEMU. They based on
the KVM patches you put in KVM tree master.

Xiaoyao Li (4):
  i386/tdx: Remove enumeration of GetQuote in
    tdx_handle_get_tdvmcall_info()
  update Linux headers to KVM tree master
  i386/tdx: Set value of <GetTdVmCallInfo> based on capabilities of both
    KVM and QEMU
  i386/tdx: handle TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT

 linux-headers/asm-x86/kvm.h |  8 ++++-
 linux-headers/linux/kvm.h   |  4 +++
 target/i386/kvm/kvm.c       |  3 ++
 target/i386/kvm/tdx-stub.c  |  4 +++
 target/i386/kvm/tdx.c       | 61 +++++++++++++++++++++++++++++++++++--
 target/i386/kvm/tdx.h       |  7 ++++-
 6 files changed, 82 insertions(+), 5 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-03  2:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03  2:40 [PATCH 0/4] TDX: Update the handling of <GetTdVmCallInfo> and implement <SetupEventNotifyInterrupt> Xiaoyao Li
2025-07-03  2:40 ` [PATCH 1/4] i386/tdx: Remove enumeration of GetQuote in tdx_handle_get_tdvmcall_info() Xiaoyao Li
2025-07-03  2:40 ` [PATCH 2/4] update Linux headers to KVM tree master Xiaoyao Li
2025-07-03  2:40 ` [PATCH 3/4] i386/tdx: Set value of <GetTdVmCallInfo> based on capabilities of both KVM and QEMU Xiaoyao Li
2025-07-03  2:40 ` [PATCH 4/4] i386/tdx: handle TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT Xiaoyao Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).