https://github.com/torvalds/linux
Revision 86f7e90ce840aa1db407d3ea6e9b3a52b2ce923c authored by Oliver Upton on 29 February 2020, 19:30:14 UTC, committed by Paolo Bonzini on 01 March 2020, 18:26:31 UTC
KVM emulates UMIP on hardware that doesn't support it by setting the
'descriptor table exiting' VM-execution control and performing
instruction emulation. When running nested, this emulation is broken as
KVM refuses to emulate L2 instructions by default.

Correct this regression by allowing the emulation of descriptor table
instructions if L1 hasn't requested 'descriptor table exiting'.

Fixes: 07721feee46b ("KVM: nVMX: Don't emulate instructions in guest mode")
Reported-by: Jan Kiszka <jan.kiszka@web.de>
Cc: stable@vger.kernel.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent e951445
History
Tip revision: 86f7e90ce840aa1db407d3ea6e9b3a52b2ce923c authored by Oliver Upton on 29 February 2020, 19:30:14 UTC
KVM: VMX: check descriptor table exits on instruction emulation
Tip revision: 86f7e90
File Mode Size
api-aead.rst -rw-r--r-- 1.0 KB
api-akcipher.rst -rw-r--r-- 789 bytes
api-digest.rst -rw-r--r-- 1.4 KB
api-intro.txt -rw-r--r-- 6.5 KB
api-kpp.rst -rw-r--r-- 1.3 KB
api-rng.rst -rw-r--r-- 446 bytes
api-samples.rst -rw-r--r-- 5.7 KB
api-skcipher.rst -rw-r--r-- 1.3 KB
api.rst -rw-r--r-- 200 bytes
architecture.rst -rw-r--r-- 14.5 KB
asymmetric-keys.txt -rw-r--r-- 16.0 KB
async-tx-api.txt -rw-r--r-- 9.1 KB
crypto_engine.rst -rw-r--r-- 2.5 KB
descore-readme.txt -rw-r--r-- 16.8 KB
devel-algos.rst -rw-r--r-- 8.8 KB
index.rst -rw-r--r-- 499 bytes
intro.rst -rw-r--r-- 3.1 KB
userspace-if.rst -rw-r--r-- 14.1 KB

back to top