* [PATCH] perfc_defn.h - increase VMX reason size array
@ 2006-03-09 2:14 Ben Thomas
0 siblings, 0 replies; only message in thread
From: Ben Thomas @ 2006-03-09 2:14 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
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
[-- Attachment #2: perfc_defn.patch --]
[-- Type: text/x-patch, Size: 641 bytes --]
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)
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-09 2:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-09 2:14 [PATCH] perfc_defn.h - increase VMX reason size array Ben Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.