[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.