]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Don't emulate instructions in guest mode
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Feb 2020 23:26:29 +0000 (15:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2020 16:22:22 +0000 (17:22 +0100)
commit55bb9253c8f28e71d0cd43643ab482ea3d8b4c87
tree64c6afde0e579d6d6239a06f2597177f9df86e45
parentf3fcb10cb6a15976c601004525ce4095722554ff
KVM: nVMX: Don't emulate instructions in guest mode

commit 705955e37f4b020f9d10e219ffb0960da1b3e0ee upstream.

vmx_check_intercept is not yet fully implemented. To avoid emulating
instructions disallowed by the L1 hypervisor, refuse to emulate
instructions by default.

Cc: stable@vger.kernel.org
[Made commit, added commit msg - Oliver]
Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx/vmx.c