···71967196 u64 leaf;71977197 u64 r11, r12, r13, r14;71987198 } get_tdvmcall_info;71997199+ struct {72007200+ u64 ret;72017201+ u64 vector;72027202+ } setup_event_notify;71997203 };72007204 } tdx;72017205···72297225status of TDVMCALLs. The output values for the given leaf should be72307226placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info``72317227field of the union.72287228+72297229+* ``TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT``: the guest has requested to72307230+set up a notification interrupt for vector ``vector``.7232723172337232KVM may add support for more values in the future that may cause a userspace72347233exit, even without calls to ``KVM_ENABLE_CAP`` or similar. In this case,
+1
arch/x86/include/asm/shared/tdx.h
···7272#define TDVMCALL_MAP_GPA 0x100017373#define TDVMCALL_GET_QUOTE 0x100027474#define TDVMCALL_REPORT_FATAL_ERROR 0x100037575+#define TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT 0x10004ULL75767677/*7778 * TDG.VP.VMCALL Status Codes (returned in R10)