* [PATCH] Documentation: KVM: Synchronize x86 VM types
@ 2026-06-03 11:45 Carlos López
2026-06-04 8:12 ` Binbin Wu
2026-06-09 3:53 ` Nikunj A Dadhania
0 siblings, 2 replies; 3+ messages in thread
From: Carlos López @ 2026-06-03 11:45 UTC (permalink / raw)
To: kvm, linux-doc, linux-kernel
Cc: Carlos López, Paolo Bonzini, Jonathan Corbet, Shuah Khan,
Ashish Kalra, Michael Roth, Brijesh Singh, Isaku Yamahata,
Binbin Wu
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>
---
Documentation/virt/kvm/api.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 52bbbb553ce1..3ec574a41f60 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -9363,6 +9363,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
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: KVM: Synchronize x86 VM types
2026-06-03 11:45 [PATCH] Documentation: KVM: Synchronize x86 VM types Carlos López
@ 2026-06-04 8:12 ` Binbin Wu
2026-06-09 3:53 ` Nikunj A Dadhania
1 sibling, 0 replies; 3+ messages in thread
From: Binbin Wu @ 2026-06-04 8:12 UTC (permalink / raw)
To: Carlos López
Cc: kvm, linux-doc, linux-kernel, Paolo Bonzini, Jonathan Corbet,
Shuah Khan, Ashish Kalra, Michael Roth, Brijesh Singh,
Isaku Yamahata
On 6/3/2026 7:45 PM, Carlos López wrote:
> 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>
> ---
> Documentation/virt/kvm/api.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 52bbbb553ce1..3ec574a41f60 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -9363,6 +9363,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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: KVM: Synchronize x86 VM types
2026-06-03 11:45 [PATCH] Documentation: KVM: Synchronize x86 VM types Carlos López
2026-06-04 8:12 ` Binbin Wu
@ 2026-06-09 3:53 ` Nikunj A Dadhania
1 sibling, 0 replies; 3+ messages in thread
From: Nikunj A Dadhania @ 2026-06-09 3:53 UTC (permalink / raw)
To: Carlos López, kvm, linux-doc, linux-kernel
Cc: Carlos López, Paolo Bonzini, Jonathan Corbet, Shuah Khan,
Ashish Kalra, Michael Roth, Brijesh Singh, Isaku Yamahata,
Binbin Wu
Carlos López <clopez@suse.de> writes:
> 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: Nikunj A Dadhania <nikunj@amd.com>
> ---
> Documentation/virt/kvm/api.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 52bbbb553ce1..3ec574a41f60 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -9363,6 +9363,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
> --
> 2.51.0
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-09 3:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 11:45 [PATCH] Documentation: KVM: Synchronize x86 VM types Carlos López
2026-06-04 8:12 ` Binbin Wu
2026-06-09 3:53 ` Nikunj A Dadhania
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox