]> 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)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 23 Feb 2020 09:11:55 +0000 (10:11 +0100)
commit705955e37f4b020f9d10e219ffb0960da1b3e0ee
treeff3c54f27b868ad188b952cef4b44a371918d166
parentf2494acd76545188ca9c7290ceb445b3161b3f06
KVM: nVMX: Don't emulate instructions in guest mode

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>
arch/x86/kvm/vmx/vmx.c