summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2014-11-26 15:47:18 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-12-04 15:29:04 +0100
commit39f062ff51b2a3bf9919bc74e575296f7e8cce1f (patch)
tree79005a4f1775c033f1bd4c500b6381578f8e6ae5 /tools/perf/scripts/python/check-perf-trace.py
parentbe06b6bece19be5b167d863fd6c5271e4ec8f1fa (diff)
KVM: x86: Generate #UD when memory operand is required
Certain x86 instructions that use modrm operands only allow memory operand (i.e., mod012), and cause a #UD exception otherwise. KVM ignores this fact. Currently, the instructions that are such and are emulated by KVM are MOVBE, MOVNTPS, MOVNTPD and MOVNTI. MOVBE is the most blunt example, since it may be emulated by the host regardless of MMIO. The fix introduces a new group for handling such instructions, marking mod3 as illegal instruction. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions