WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] perfc_defn.h - increase VMX reason size array

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] perfc_defn.h - increase VMX reason size array
From: Ben Thomas <bthomas@xxxxxxxxxxxxxxx>
Date: Wed, 08 Mar 2006 21:14:01 -0500
Delivery-date: Thu, 09 Mar 2006 02:14:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
If I'm reading the spec correctly, the April 2005 Intel Virtualization
Technology Specification (Appendix A1) indicates that there are 44
potential exit reason codes.  Based upon this, increase the size of
the PERFCOUNTER_ARRAY for vmexits.

Signed-off-by: Ben Thomas (bthomas@xxxxxxxxxxxxxxx)

--
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                   Lowell, MA 01851
diff -r 96678f701d42 xen/include/xen/perfc_defn.h
--- a/xen/include/xen/perfc_defn.h      Mon Mar  6 11:12:48 2006 -0500
+++ b/xen/include/xen/perfc_defn.h      Wed Mar  8 21:01:52 2006 -0500
@@ -26,7 +26,7 @@ PERFCOUNTER_ARRAY(hypercalls,           
 PERFCOUNTER_ARRAY(hypercalls,           "hypercalls", NR_hypercalls)
 PERFCOUNTER_ARRAY(exceptions,           "exceptions", 32)
 
-#define VMX_PERF_EXIT_REASON_SIZE 37
+#define VMX_PERF_EXIT_REASON_SIZE 44
 #define VMX_PERF_VECTOR_SIZE 0x20
 PERFCOUNTER_ARRAY(vmexits,              "vmexits", VMX_PERF_EXIT_REASON_SIZE)
 PERFCOUNTER_ARRAY(cause_vector,         "cause vector", VMX_PERF_VECTOR_SIZE)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] perfc_defn.h - increase VMX reason size array, Ben Thomas <=