]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/tdx: handle TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT
authorXiaoyao Li <xiaoyao.li@intel.com>
Thu, 3 Jul 2025 02:40:20 +0000 (10:40 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Jul 2025 13:28:20 +0000 (15:28 +0200)
commitefa742b23eff2a799c196d756bd506fe74e96fdc
tree9f3ee7c8fcd24755aa19f847270212f6983c225e
parent55be385b10658a2372f944fa41aaba016e1e8433
i386/tdx: handle TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT

Record the interrupt vector and the apic id of the vcpu that calls
TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT.

Inject the interrupt to TD guest to notify the completion of <GetQuote>
when notify interrupt vector is valid.

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