diff options
author | Liran Alon <liran.alon@oracle.com> | 2017-11-05 16:56:32 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-11-17 13:20:10 +0100 |
commit | 61cb57c9ed631c95b54f8e9090c89d18b3695b3c (patch) | |
tree | b76b627d1fc8b3ac7da2df299016df236dd1fe24 /arch/x86/include | |
parent | ac9b305caa0df6f5b75d294e4b86c1027648991e (diff) | |
download | linux-61cb57c9ed631c95b54f8e9090c89d18b3695b3c.tar.gz linux-61cb57c9ed631c95b54f8e9090c89d18b3695b3c.tar.bz2 linux-61cb57c9ed631c95b54f8e9090c89d18b3695b3c.zip |
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>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions