aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_cpuid_x86.c
diff options
context:
space:
mode:
authorJuergen Gross <juergen.gross@ts.fujitsu.com>2011-09-15 15:26:07 +0100
committerJuergen Gross <juergen.gross@ts.fujitsu.com>2011-09-15 15:26:07 +0100
commit2411017e28d64b5d8a37f1b911776ae4353c01ac (patch)
treea061b5a7bad6a22889117463dba281085eccebc2 /tools/libxc/xc_cpuid_x86.c
parent1f9d04fb021cbf35cc420d401a88c696d6524c14 (diff)
downloadxen-2411017e28d64b5d8a37f1b911776ae4353c01ac.tar.gz
xen-2411017e28d64b5d8a37f1b911776ae4353c01ac.tar.bz2
xen-2411017e28d64b5d8a37f1b911776ae4353c01ac.zip
libxc: 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. Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_cpuid_x86.c')
-rw-r--r--tools/libxc/xc_cpuid_x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c
index 0796ae91d2..74dc4ca6bf 100644
--- a/tools/libxc/xc_cpuid_x86.c
+++ b/tools/libxc/xc_cpuid_x86.c
@@ -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 */