[PATCH 0/4] TDX: Update the handling of <GetTdVmCallInfo> and implement <SetupEventNotifyInterrupt>

Xiaoyao Li posted 4 patches 4 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250703024021.3559286-1-xiaoyao.li@intel.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
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(-)
[PATCH 0/4] TDX: Update the handling of <GetTdVmCallInfo> and implement <SetupEventNotifyInterrupt>
Posted by Xiaoyao Li 4 months, 2 weeks ago
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