]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Dec 2021 14:08:37 +0000 (15:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Dec 2021 14:08:37 +0000 (15:08 +0100)
added patches:
kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch

queue-4.19/kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch b/queue-4.19/kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch
new file mode 100644 (file)
index 0000000..efad93a
--- /dev/null
@@ -0,0 +1,40 @@
+From 0ff29701ffad9a5d5a24344d8b09f3af7b96ffda Mon Sep 17 00:00:00 2001
+From: Sean Christopherson <seanjc@google.com>
+Date: Tue, 7 Dec 2021 19:30:05 +0000
+Subject: KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
+
+From: Sean Christopherson <seanjc@google.com>
+
+commit 0ff29701ffad9a5d5a24344d8b09f3af7b96ffda upstream.
+
+Update the documentation for kvm-intel's emulate_invalid_guest_state to
+rectify the description of KVM's default behavior, and to document that
+the behavior and thus parameter only applies to L1.
+
+Fixes: a27685c33acc ("KVM: VMX: Emulate invalid guest state by default")
+Signed-off-by: Sean Christopherson <seanjc@google.com>
+Message-Id: <20211207193006.120997-4-seanjc@google.com>
+Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
+Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ Documentation/admin-guide/kernel-parameters.txt |    8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+--- a/Documentation/admin-guide/kernel-parameters.txt
++++ b/Documentation/admin-guide/kernel-parameters.txt
+@@ -2019,8 +2019,12 @@
+                       Default is 1 (enabled)
+       kvm-intel.emulate_invalid_guest_state=
+-                      [KVM,Intel] Enable emulation of invalid guest states
+-                      Default is 0 (disabled)
++                      [KVM,Intel] Disable emulation of invalid guest state.
++                      Ignored if kvm-intel.enable_unrestricted_guest=1, as
++                      guest state is never invalid for unrestricted guests.
++                      This param doesn't apply to nested guests (L2), as KVM
++                      never emulates invalid L2 guest state.
++                      Default is 1 (enabled)
+       kvm-intel.flexpriority=
+                       [KVM,Intel] Disable FlexPriority feature (TPR shadow).
index 8b7a3275172cbbe928a66cbe12a9c6e97ea7c63a..0090fdf07045f46d52d737ae7894f0270270dcc3 100644 (file)
@@ -29,3 +29,4 @@ pinctrl-stm32-consider-the-gpio-offset-to-expose-all-the-gpio-lines.patch
 arm-9169-1-entry-fix-thumb2-bug-in-iwmmxt-exception-handling.patch
 f2fs-fix-to-do-sanity-check-on-last-xattr-entry-in-__f2fs_setxattr.patch
 usb-gadget-u_ether-fix-race-in-setting-mac-address-in-setup-phase.patch
+kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch