KVM: x86 emulator: fix the comment of out instruction
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 6 Jul 2010 08:50:21 +0000 (16:50 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:23 +0000 (06:40 +0300)
Fix the comment of out instruction, using the same style as the
other instructions.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c

index d842a7d..ad8d7cd 100644 (file)
@@ -2949,8 +2949,8 @@ special_insn:
                                     &c->dst.val))
                        goto done; /* IO is needed */
                break;
-       case 0xee: /* out al,dx */
-       case 0xef: /* out (e/r)ax,dx */
+       case 0xee: /* out dx,al */
+       case 0xef: /* out dx,(e/r)ax */
                c->src.val = c->regs[VCPU_REGS_RDX];
        do_io_out:
                c->dst.bytes = min(c->dst.bytes, 4u);