KVM: x86: Add a VM type define for TDX
authorRick Edgecombe <rick.p.edgecombe@intel.com>
Thu, 18 Jul 2024 21:12:15 +0000 (14:12 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Dec 2024 13:28:55 +0000 (08:28 -0500)
Add a VM type define for TDX.

Future changes will need to lay the ground work for TDX support by
making some behavior conditional on the VM being a TDX guest.

Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Message-ID: <20240718211230.1492011-4-rick.p.edgecombe@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/kvm.h

index 88585c1de416fa6f81bf0d1e12dff3fec89f0ecc..9e75da97bce070a9054e678d951426d4ae072db6 100644 (file)
@@ -925,5 +925,6 @@ struct kvm_hyperv_eventfd {
 #define KVM_X86_SEV_VM         2
 #define KVM_X86_SEV_ES_VM      3
 #define KVM_X86_SNP_VM         4
+#define KVM_X86_TDX_VM         5
 
 #endif /* _ASM_X86_KVM_H */