]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: Emulator flag for instruction that only support 16-bit addresses in real...
authorNadav Amit <namit@cs.technion.ac.il>
Wed, 18 Jun 2014 14:19:34 +0000 (17:19 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:14:04 +0000 (09:14 +0200)
commit10e38fc7cabc668738e6a7b7b57cbcddb2234440
tree9b7982992a39d860b71e7a936e3f8d630c7c17a0
parent44583cba9188b29b20ceeefe8ae23ad19e26d9a4
KVM: x86: Emulator flag for instruction that only support 16-bit addresses in real mode

Certain instructions, such as monitor and xsave do not support big real mode
and cause a #GP exception if any of the accessed bytes effective address are
not within [0, 0xffff].  This patch introduces a flag to mark these
instructions, including the necassary checks.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c