perfc_defn.h - increase VMX reason size array
PATCH 1/1 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 ([email protected])
Signature · 5 lines
------------------------------------------------------------------------ Ben Thomas Virtual Iron Software [email protected] Tower 1, Floor 2 978-849-1214 900 Chelmsford Street Lowell, MA 01851
xen/include/xen/perfc_defn.h +1 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel