KVM: x86 emulator: Use opcode::execute for INS/OUTS from/to port in DX
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Wed, 23 Nov 2011 03:27:39 +0000 (12:27 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:46 +0000 (11:17 +0200)
commit2b5e97e1fadf1ade87558f2a2003616879f9e228
tree31a7b6eed647cee35de6e3e7cc90f98b47f2a300
parentd77fe6354d5b67f4d4eb62a47621da2b3ee3539e
KVM: x86 emulator: Use opcode::execute for INS/OUTS from/to port in DX

INSB       : 6C
INSW/INSD  : 6D
OUTSB      : 6E
OUTSW/OUTSD: 6F

The I/O port address is read from the DX register when we decode the
operand because we see the SrcDX/DstDX flag is set.

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