From patchwork Tue Jan 19 09:43:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 73839 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0J9iLFR010501 for ; Tue, 19 Jan 2010 09:44:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756185Ab0ASJn4 (ORCPT ); Tue, 19 Jan 2010 04:43:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756187Ab0ASJnz (ORCPT ); Tue, 19 Jan 2010 04:43:55 -0500 Received: from mga09.intel.com ([134.134.136.24]:35677 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756120Ab0ASJns (ORCPT ); Tue, 19 Jan 2010 04:43:48 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 19 Jan 2010 01:43:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.49,302,1262592000"; d="scan'208";a="588358590" Received: from syang10-desktop.sh.intel.com (HELO syang10-desktop) ([10.239.36.165]) by orsmga001.jf.intel.com with ESMTP; 19 Jan 2010 01:43:43 -0800 Received: from yasker by syang10-desktop with local (Exim 4.69) (envelope-from ) id 1NXAcN-0001oP-QT; Tue, 19 Jan 2010 17:43:23 +0800 From: Sheng Yang To: Marcelo Tosatti , Avi Kivity Cc: kvm@vger.kernel.org, Sheng Yang Subject: [PATCH] KVM: x86: Remove emulation failure report Date: Tue, 19 Jan 2010 17:43:21 +0800 Message-Id: <1263894201-6939-1-git-send-email-sheng@linux.intel.com> X-Mailer: git-send-email 1.6.3.3 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 92c2f9a..27b9905 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -3438,7 +3438,6 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu) } if (err != EMULATE_DONE) { - kvm_report_emulation_failure(vcpu, "emulation failure"); vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; vcpu->run->internal.suberror = KVM_INTERNAL_ERROR_EMULATION; vcpu->run->internal.ndata = 0;