]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation: KVM: Synchronize x86 VM types
authorCarlos López <clopez@suse.de>
Wed, 3 Jun 2026 11:45:04 +0000 (13:45 +0200)
committerSean Christopherson <seanjc@google.com>
Mon, 8 Jun 2026 16:20:19 +0000 (09:20 -0700)
KVM has reflected KVM_X86_SNP_VM to userspace since 1dfe571c12cf
("KVM: SEV: Add initial SEV-SNP support"), and KVM_X86_TDX_VM since
161d34609f9b ("KVM: TDX: Make TDX VM type supported"). Update the
documentation to reflect this fact.

Fixes: 1dfe571c12cf ("KVM: SEV: Add initial SEV-SNP support")
Fixes: 161d34609f9b ("KVM: TDX: Make TDX VM type supported")
Signed-off-by: Carlos López <clopez@suse.de>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://patch.msgid.link/20260603114504.814647-2-clopez@suse.de
[sean: use one tab instead of two]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Documentation/virt/kvm/api.rst

index 1a5a82ab0d66184099f49dd84710df643af18661..7d55aac04c15de0d5e20e0db460243e9b60dae5b 100644 (file)
@@ -9366,6 +9366,8 @@ means the VM type with value @n is supported.  Possible values of @n are::
   #define KVM_X86_SW_PROTECTED_VM      1
   #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
 
 Note, KVM_X86_SW_PROTECTED_VM is currently only for development and testing.
 Do not use KVM_X86_SW_PROTECTED_VM for "real" VMs, and especially not in