]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: do not munge rep prefix
authorAvi Kivity <avi@redhat.com>
Wed, 20 Jan 2010 14:00:35 +0000 (16:00 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:58 +0000 (07:56 -0400)
commit3028bcde101992aaa1e6a3c9451ce50fee7fb806
tree2be22fb5ba4fb76a73120776488a6e7ee4ba5bdc
parent3fbaed205cd2f64b11c03b19e01bd6aada13a687
KVM: x86 emulator: do not munge rep prefix

Currently we store a rep prefix as 1 or 2 depending on whether it is a REPE or
REPNE.  Since sse instructions depend on the prefix value, store it as the
original opcode to simplify things further on.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c