diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-11-02 12:54:58 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-08 10:20:10 +0300 |
commit | d14cb5df59037f690e62f828c9977c23b1a59e0b (patch) | |
tree | 2b47f40c3731be445a4710af2517ed8c47fc619e /arch/x86/kvm/lapic.c | |
parent | 2c2ca2d12f5c7b7a961555029dcddd1154cc98e5 (diff) | |
download | linux-d14cb5df59037f690e62f828c9977c23b1a59e0b.tar.xz |
KVM: x86: Emulator mis-decodes VEX instructions on real-mode
Commit 7fe864dc942c (KVM: x86: Mark VEX-prefix instructions emulation as
unimplemented, 2014-06-02) marked VEX instructions as such in protected
mode. VEX-prefix instructions are not supported relevant on real-mode
and VM86, but should cause #UD instead of being decoded as LES/LDS.
Fix this behaviour to be consistent with real hardware.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
[Check for mod == 3, rather than 2 or 3. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions