commit | 10e38fc7cabc668738e6a7b7b57cbcddb2234440 | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Wed Jun 18 17:19:34 2014 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 11 09:14:04 2014 +0200 |
tree | 9b7982992a39d860b71e7a936e3f8d630c7c17a0 | |
parent | 44583cba9188b29b20ceeefe8ae23ad19e26d9a4 [diff] |
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>