Skip to content

Commit 9364789

Browse files
rpedgecobonzini
authored andcommitted
KVM: x86: Add a VM type define for TDX
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 <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent dca6c88 commit 9364789

File tree

1 file changed

+1
-0
lines changed
  • arch/x86/include/uapi/asm

1 file changed

+1
-0
lines changed

arch/x86/include/uapi/asm/kvm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,5 +925,6 @@ struct kvm_hyperv_eventfd {
925925
#define KVM_X86_SEV_VM 2
926926
#define KVM_X86_SEV_ES_VM 3
927927
#define KVM_X86_SNP_VM 4
928+
#define KVM_X86_TDX_VM 5
928929

929930
#endif /* _ASM_X86_KVM_H */

0 commit comments

Comments
 (0)