Skip to contentSkip to conversation

Documentation: KVM: Synchronize x86 VM types

PATCH Applied Carlos López 4 participants 4 messages Jun 3 – Jun 9

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 Documentation/virt/kvm/api.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/virt/kvm/api.rst +2 -0
index 52bbbb553ce1..3ec574a41f60 100644
@@ -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
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Carlos López

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")
Quoted 17 lines
---
 Documentation/virt/kvm/api.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/virt/kvm/api.rst +2 -0
index 52bbbb553ce1..3ec574a41f60 100644
@@ -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
Reviewed-by on v1 1/1
#2 lore raw
In reply to Carlos López
Quoted 8 lines · Carlos López

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")
Quoted 19 lines
---
 Documentation/virt/kvm/api.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/virt/kvm/api.rst +2 -0
index 52bbbb553ce1..3ec574a41f60 100644
@@ -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
Signature · 1 line
2.51.0
reviewer Applied
#3 lore raw
In reply to Carlos López
Quoted 6 lines · Carlos López

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.

Applied to kvm-x86 misc, thanks!

[1/1] Documentation: KVM: Synchronize x86 VM types

      https://github.com/kvm-x86/linux/commit/65aa483f32ec

--
https://github.com/kvm-x86/linux/tree/next