ia64/xen-unstable

changeset 9202:37f3f5ad9110

According to 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)
author kaf24@firebug.cl.cam.ac.uk
date Thu Mar 09 11:17:29 2006 +0100 (2006-03-09)
parents 17e26f60e901
children 5ea87acc07dc
files xen/include/xen/perfc_defn.h
line diff
     1.1 --- a/xen/include/xen/perfc_defn.h	Thu Mar 09 11:16:46 2006 +0100
     1.2 +++ b/xen/include/xen/perfc_defn.h	Thu Mar 09 11:17:29 2006 +0100
     1.3 @@ -26,7 +26,7 @@ PERFCOUNTER_ARRAY(snapshot_copies,      
     1.4  PERFCOUNTER_ARRAY(hypercalls,           "hypercalls", NR_hypercalls)
     1.5  PERFCOUNTER_ARRAY(exceptions,           "exceptions", 32)
     1.6  
     1.7 -#define VMX_PERF_EXIT_REASON_SIZE 37
     1.8 +#define VMX_PERF_EXIT_REASON_SIZE 44
     1.9  #define VMX_PERF_VECTOR_SIZE 0x20
    1.10  PERFCOUNTER_ARRAY(vmexits,              "vmexits", VMX_PERF_EXIT_REASON_SIZE)
    1.11  PERFCOUNTER_ARRAY(cause_vector,         "cause vector", VMX_PERF_VECTOR_SIZE)