KVM: x86 emulator: X86EMUL macro replacements: from do_fetch_insn_byte() to x86_decod...
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Fri, 12 Feb 2010 06:53:59 +0000 (15:53 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:27:43 +0000 (12:27 +0300)
commit3e2815e9fa6c06bcb8a9340e43008bbe48437d25
tree2f31ee37f286e496223dd5b6503b618a8e7340b0
parent1161624f15f584096a0df3dda70403cd1d00721e
KVM: x86 emulator: X86EMUL macro replacements: from do_fetch_insn_byte() to x86_decode_insn()

This patch just replaces the integer values used inside x86's
decode functions to X86EMUL_*.

By this patch, it becomes clearer that we are using X86EMUL_*
value propagated from ops->read_std() in do_fetch_insn_byte().

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c