diff options
author | Jan Dakinevich <jan.dakinevich@virtuozzo.com> | 2019-08-27 16:07:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 16:12:18 +0300 |
commit | 3faf2647df7b1c5096607cc747255fe06ef181ec (patch) | |
tree | 88d7fb558bbdda1375bba2fcf9cbfa61694ebde1 /certs | |
parent | cf6f9ff527b1cef7db145ee426b78faa1ab27223 (diff) | |
download | linux-3faf2647df7b1c5096607cc747255fe06ef181ec.tar.xz |
KVM: x86: set ctxt->have_exception in x86_decode_insn()
commit c8848cee74ff05638e913582a476bde879c968ad upstream.
x86_emulate_instruction() takes into account ctxt->have_exception flag
during instruction decoding, but in practice this flag is never set in
x86_decode_insn().
Fixes: 6ea6e84309ca ("KVM: x86: inject exceptions produced by x86_decode_insn")
Cc: stable@vger.kernel.org
Cc: Denis Lunev <den@virtuozzo.com>
Cc: Roman Kagan <rkagan@virtuozzo.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Signed-off-by: Jan Dakinevich <jan.dakinevich@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions