KVM: VMX: check descriptor table exits on instruction emulation
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 <email@example.com>
Cc: Paolo Bonzini <firstname.lastname@example.org>
Cc: Jim Mattson <email@example.com>
Signed-off-by: Oliver Upton <firstname.lastname@example.org>
Signed-off-by: Paolo Bonzini <email@example.com>
1 file changed