diff options
author | Yu Zhang <yu.c.zhang@linux.intel.com> | 2021-01-28 23:47:47 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-28 13:03:14 -0500 |
commit | ae000861b95cc4521c498430eb9c61ad62cea51c (patch) | |
tree | 370f47fade7221da8a979c88ac74b3dacca15943 /Documentation/virt | |
parent | 074489b77a37c61c0b090d63b2731a951064fd70 (diff) | |
download | linux-stable-ae000861b95cc4521c498430eb9c61ad62cea51c.tar.gz linux-stable-ae000861b95cc4521c498430eb9c61ad62cea51c.tar.bz2 linux-stable-ae000861b95cc4521c498430eb9c61ad62cea51c.zip |
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.
Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
Message-Id: <20210128154747.4242-1-yu.c.zhang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virt')
-rw-r--r-- | Documentation/virt/kvm/nested-vmx.rst | 6 | ||||
-rw-r--r-- | Documentation/virt/kvm/running-nested-guests.rst | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/virt/kvm/nested-vmx.rst b/Documentation/virt/kvm/nested-vmx.rst index 6ab4e35cee23..ac2095d41f02 100644 --- a/Documentation/virt/kvm/nested-vmx.rst +++ b/Documentation/virt/kvm/nested-vmx.rst @@ -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 diff --git a/Documentation/virt/kvm/running-nested-guests.rst b/Documentation/virt/kvm/running-nested-guests.rst index d0a1fc754c84..bd70c69468ae 100644 --- a/Documentation/virt/kvm/running-nested-guests.rst +++ b/Documentation/virt/kvm/running-nested-guests.rst @@ -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.) |