Liran Alon 61cb57c9ed KVM: x86: Exit to user-mode on #UD intercept when emulator requires
Instruction emulation after trapping a #UD exception can result in an
MMIO access, for example when emulating a MOVBE on a processor that
doesn't support the instruction.  In this case, the #UD vmexit handler
must exit to user mode, but there wasn't any code to do so.  Add it for
both VMX and SVM.

Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-11-17 13:20:10 +01:00
..
2017-11-15 15:01:28 -08:00
2017-11-17 13:20:01 +01:00
2017-11-17 13:20:01 +01:00
2017-11-14 18:25:40 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 18:21:03 -08:00
2017-11-14 16:54:12 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 18:21:00 -08:00
2017-11-14 16:54:12 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 18:25:40 -08:00
2017-11-16 11:41:22 -08:00
2017-11-14 18:25:40 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 10:49:15 -08:00
2017-11-16 13:00:24 -08:00
2017-11-15 15:01:28 -08:00