Hi TDX support for using the MWAIT instruction in a guest has issues. One option is just to disable it, see patch 1. Then perhaps provide a distinct way to enable it, documenting the limitations TDX has compared with VMX in this regard, so that users will be made aware of the limitations. See patch 2. Other options: 1. Do nothing but document the limitations. 2. Patch 1 but not patch 2; look for a better solution Adrian Hunter (2): KVM: TDX: Disable general support for MWAIT in guest KVM: TDX: Add flag to support MWAIT instruction only Documentation/virt/kvm/x86/intel-tdx.rst | 28 ++++++++++- arch/x86/include/asm/kvm_host.h | 2 + arch/x86/include/uapi/asm/kvm.h | 3 ++ arch/x86/kvm/vmx/tdx.c | 80 +++++++++++++++++++++++++------- arch/x86/kvm/x86.c | 8 ++-- 5 files changed, 98 insertions(+), 23 deletions(-) Regards Adrian