From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Thomas Subject: [PATCH] perfc_defn.h - increase VMX reason size array Date: Wed, 08 Mar 2006 21:14:01 -0500 Message-ID: <440F8F69.7060507@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070507030609050801060501" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070507030609050801060501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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@virtualiron.com) -- ------------------------------------------------------------------------ Ben Thomas Virtual Iron Software bthomas@virtualiron.com Tower 1, Floor 2 978-849-1214 900 Chelmsford Street Lowell, MA 01851 --------------070507030609050801060501 Content-Type: text/x-patch; name="perfc_defn.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="perfc_defn.patch" 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) --------------070507030609050801060501 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070507030609050801060501--