Skip to contentSkip to conversation

KVM: Documentation: Fix documentation for nested.

PATCH Applied Yu Zhang 2 participants 2 messages Jan 28, 2021

Subsystems (2)
lore
Share & tools
lore

Yu Zhang

author
#0 lore raw

PATCH 1/1 KVM: Documentation: Fix documentation for nested.

Nested VMX was enabled by default in commit <1e58e5e59148> ("KVM:
VMX: enable nested virtualization by default"), which was merged in Linux 4.20. This patch is to fix the documentation accordingly.

---
 Documentation/virt/kvm/nested-vmx.rst            | 6 ++++--
 Documentation/virt/kvm/running-nested-guests.rst | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
Documentation/virt/kvm/nested-vmx.rst +4 -2
index 6ab4e35..ac2095d 100644
@@ -37,8 +37,10 @@ call L2.
 Running nested VMX
 ------------------
 
-The nested VMX feature is disabled by default. It can be enabled by giving
-the "nested=1" option to the kvm-intel module.
+The nested VMX feature is enabled by default since Linux kernel v4.20. For
+older Linux kernel, it can be enabled by giving the "nested=1" option to the
+kvm-intel module.
+
 
 No modifications are required to user space (qemu). However, qemu's default
 emulated CPU type (qemu64) does not list the "VMX" CPU feature, so it must be
Documentation/virt/kvm/running-nested-guests.rst +1 -1
index d0a1fc7..bd70c69 100644
@@ -74,7 +74,7 @@ few:
 Enabling "nested" (x86)
 -----------------------
 
-From Linux kernel v4.19 onwards, the ``nested`` KVM parameter is enabled
+From Linux kernel v4.20 onwards, the ``nested`` KVM parameter is enabled
 by default for Intel and AMD.  (Though your Linux distribution might
 override this default.)
 
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 33 lines · Yu Zhang

Nested VMX was enabled by default in commit <1e58e5e59148> ("KVM:
VMX: enable nested virtualization by default"), which was merged in Linux 4.20. This patch is to fix the documentation accordingly.

---
  Documentation/virt/kvm/nested-vmx.rst            | 6 ++++--
  Documentation/virt/kvm/running-nested-guests.rst | 2 +-
  2 files changed, 5 insertions(+), 3 deletions(-)
Documentation/virt/kvm/nested-vmx.rst +4 -2
index 6ab4e35..ac2095d 100644
@@ -37,8 +37,10 @@ call L2.
  Running nested VMX
  ------------------
 
-The nested VMX feature is disabled by default. It can be enabled by giving
-the "nested=1" option to the kvm-intel module.
+The nested VMX feature is enabled by default since Linux kernel v4.20. For
+older Linux kernel, it can be enabled by giving the "nested=1" option to the
+kvm-intel module.
+
 
  No modifications are required to user space (qemu). However, qemu's default
  emulated CPU type (qemu64) does not list the "VMX" CPU feature, so it must be
Documentation/virt/kvm/running-nested-guests.rst +0 -0
index d0a1fc7..bd70c69 100644

Documentation/virt/kvm/running-nested-guests.rst few: · line 80

Quoted 8 lines
Documentation/virt/kvm/running-nested-guests.rst +1 -1
@@ -74,7 +74,7 @@ few:
  Enabling "nested" (x86)
  -----------------------
 
-From Linux kernel v4.19 onwards, the ``nested`` KVM parameter is enabled
+From Linux kernel v4.20 onwards, the ``nested`` KVM parameter is enabled
  by default for Intel and AMD.  (Though your Linux distribution might
  override this default.)
 

Queued, thanks.

Paolo