From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Yongjun Subject: [PATCH 2/6] KVM: x86 emulator: fix the comment of out instruction Date: Tue, 06 Jul 2010 16:50:21 +0800 Message-ID: <4C32EE4D.6050609@cn.fujitsu.com> References: <4C32EE01.5050408@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Avi Kivity , Marcelo Tosatti Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:51350 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755039Ab0GFIwS (ORCPT ); Tue, 6 Jul 2010 04:52:18 -0400 In-Reply-To: <4C32EE01.5050408@cn.fujitsu.com> Sender: kvm-owner@vger.kernel.org List-ID: Fix the comment of out instruction, using the same style as the other instructions. Signed-off-by: Wei Yongjun --- arch/x86/kvm/emulate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index d842a7d..ad8d7cd 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -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); -- 1.7.0.4