Enable cpuid performance counter leaf for HVM
PATCH 1/1 Enable cpuid performance counter leaf for HVM
In HVM domains the usable performance counters can be checked automatically only, if cpuid leaf 0x0000000a is accessible.
1 file changed, 1 insertion(+)
tools/libxc/xc_cpuid_x86.c | 1 +
# HG changeset patch
# User Juergen Gross <[email protected]> # Date 1315488544 -7200
# Node ID 8244f714acf1cc2bc08517a34dc241380f9648e6 # Parent bdd19847ae63b5dfb036e228cb16ec3ae678e995 Enable cpuid performance counter leaf for HVM
In HVM domains the usable performance counters can be checked automatically only, if cpuid leaf 0x0000000a is accessible.
tools/libxc/xc_cpuid_x86.c +1 -0
@@ -392,6 +392,7 @@ static void xc_cpuid_hvm_policy(case 0x00000002 :/* Intel cache info (dumped by AMD policy) */ case 0x00000004 :/* Intel cache info (dumped by AMD policy) */ +case 0x0000000a :/* Architectural Performance Monitor Features */ case 0x80000002 :/* Processor name string */ case 0x80000003 :/* ... continued */ case 0x80000004 :/* ... continued */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Juergen Gross writes ("[Xen-devel] [PATCH] Enable cpuid performance counter leaf for HVM"):
Quoted 4 lines
In HVM domains the usable performance counters can be checked automatically only, if cpuid leaf
0x0000000ais accessible.Signed-off-by [email protected]
Ian.