Oh, yes. TDX CPU architectural specification, TDCALL in VMX non-root modeSide topic:
#define VMX_EXIT_REASONS \
{ EXIT_REASON_EXCEPTION_NMI, "EXCEPTION_NMI" }, \
@@ -155,7 +156,8 @@
{ EXIT_REASON_UMWAIT, "UMWAIT" }, \
{ EXIT_REASON_TPAUSE, "TPAUSE" }, \
{ EXIT_REASON_BUS_LOCK, "BUS_LOCK" }, \
- { EXIT_REASON_NOTIFY, "NOTIFY" }
+ { EXIT_REASON_NOTIFY, "NOTIFY" }, \
+ { EXIT_REASON_TDCALL, "TDCALL" }
Strictly speaking, TDCALL vm-exit handling can happen for normal VMs.
so, KVM mayCurrently, the handling of TDCALL for VMX VMs will return to userspace
need to handle it by injecting #UD. Of course, it is not necessary for this series.