From: Greg Kroah-Hartman Date: Mon, 27 Dec 2021 14:08:37 +0000 (+0100) Subject: 4.19-stable patches X-Git-Tag: v4.4.297~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f65c04c2d49065f375c6b0306d27cb0ede077712;p=thirdparty%2Fkernel%2Fstable-queue.git 4.19-stable patches added patches: kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch --- 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 index 00000000000..efad93addba --- /dev/null +++ b/queue-4.19/kvm-vmx-fix-stale-docs-for-kvm-intel.emulate_invalid_guest_state.patch @@ -0,0 +1,40 @@ +From 0ff29701ffad9a5d5a24344d8b09f3af7b96ffda Mon Sep 17 00:00:00 2001 +From: Sean Christopherson +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 + +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 +Message-Id: <20211207193006.120997-4-seanjc@google.com> +Reviewed-by: Maxim Levitsky +Signed-off-by: Paolo Bonzini +Signed-off-by: Greg Kroah-Hartman +--- + 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). diff --git a/queue-4.19/series b/queue-4.19/series index 8b7a3275172..0090fdf0704 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -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