From patchwork Fri Jan 23 20:56:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Huang X-Patchwork-Id: 432303 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id ED3011402AF for ; Sat, 24 Jan 2015 08:01:35 +1100 (AEDT) Received: from localhost ([::1]:33123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YElMD-0000qD-F7 for incoming@patchwork.ozlabs.org; Fri, 23 Jan 2015 16:01:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YElJt-0004oi-K2 for qemu-devel@nongnu.org; Fri, 23 Jan 2015 15:59:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YElJn-0000hl-Bn for qemu-devel@nongnu.org; Fri, 23 Jan 2015 15:59:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YElJn-0000hd-5R for qemu-devel@nongnu.org; Fri, 23 Jan 2015 15:59:03 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0NKx0vA002558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 23 Jan 2015 15:59:01 -0500 Received: from apm-mustang-ev3-09.ml3.eng.bos.redhat.com (apm-mustang-ev3-09.ml3.eng.bos.redhat.com [10.19.176.141]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0NKwxNW007446; Fri, 23 Jan 2015 15:59:00 -0500 From: Wei Huang To: qemu-devel@nongnu.org Date: Fri, 23 Jan 2015 15:56:01 -0500 Message-Id: <1422046564-10270-2-git-send-email-wei@redhat.com> In-Reply-To: <1422046564-10270-1-git-send-email-wei@redhat.com> References: <1422046564-10270-1-git-send-email-wei@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: pbonzini@redhat.com, peter.maydell@linaro.org Subject: [Qemu-devel] [PATCH V3 1/4] kvm_stat: Update exit reasons to the latest defintion X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This patch updates the exit reasons for x86_vmx, x86_svm, and userspace to the latest definition. Signed-off-by: Wei Huang --- scripts/kvm/kvm_stat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat index 7b1437c..7ec84c0 100755 --- a/scripts/kvm/kvm_stat +++ b/scripts/kvm/kvm_stat @@ -65,6 +65,8 @@ vmx_exit_reasons = { 49: 'EPT_MISCONFIG', 54: 'WBINVD', 55: 'XSETBV', + 56: 'APIC_WRITE', + 58: 'INVPCID', } svm_exit_reasons = { @@ -138,6 +140,7 @@ svm_exit_reasons = { 0x08a: 'MONITOR', 0x08b: 'MWAIT', 0x08c: 'MWAIT_COND', + 0x08d: 'XSETBV', 0x400: 'NPF', } @@ -167,6 +170,7 @@ userspace_exit_reasons = { 21: 'WATCHDOG', 22: 'S390_TSCH', 23: 'EPR', + 24: 'SYSTEM_EVENT', } x86_exit_reasons = {