From: Carlos López Date: Wed, 3 Jun 2026 11:45:04 +0000 (+0200) Subject: Documentation: KVM: Synchronize x86 VM types X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65aa483f32ec674f0506658329d43403cafe5eb0;p=thirdparty%2Flinux.git Documentation: KVM: Synchronize x86 VM types 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 Reviewed-by: Binbin Wu Link: https://patch.msgid.link/20260603114504.814647-2-clopez@suse.de [sean: use one tab instead of two] Signed-off-by: Sean Christopherson --- diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index 1a5a82ab0d66..7d55aac04c15 100644 --- a/Documentation/virt/kvm/api.rst +++ b/Documentation/virt/kvm/api.rst @@ -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