From patchwork Thu Feb 11 03:12:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 78617 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1B3B1jF012933 for ; Thu, 11 Feb 2010 03:11:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753618Ab0BKDKx (ORCPT ); Wed, 10 Feb 2010 22:10:53 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:52985 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751664Ab0BKDKw (ORCPT ); Wed, 10 Feb 2010 22:10:52 -0500 Received: from tang.cn.fujitsu.com (tang.cn.fujitsu.com [10.167.250.3]) by song.cn.fujitsu.com (Postfix) with ESMTP id DB005170131; Thu, 11 Feb 2010 11:10:45 +0800 (CST) Received: from fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id o1B3A07t003664; Thu, 11 Feb 2010 11:10:00 +0800 Received: from [10.167.141.76] (unknown [10.167.141.76]) by fnst.cn.fujitsu.com (Postfix) with ESMTPA id CC82DD47CB; Thu, 11 Feb 2010 11:12:18 +0800 (CST) Message-ID: <4B737587.3070301@cn.fujitsu.com> Date: Thu, 11 Feb 2010 11:12:07 +0800 From: Wei Yongjun User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: kvm@vger.kernel.org CC: Avi Kivity Subject: [PATCH] KVM: x86 emulator: code style cleanup Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 11 Feb 2010 03:11:02 +0000 (UTC) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 31f4526..8a52616 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1012,7 +1012,7 @@ done_prefixes: } if (mode == X86EMUL_MODE_PROT64 && (c->d & No64)) { - kvm_report_emulation_failure(ctxt->vcpu, "invalid x86/64 instruction");; + kvm_report_emulation_failure(ctxt->vcpu, "invalid x86/64 instruction"); return -1; }