# HG changeset patch # User Juergen Gross # 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. Signed-off-by: juergen.gross@xxxxxxxxxxxxxx diff -r bdd19847ae63 -r 8244f714acf1 tools/libxc/xc_cpuid_x86.c --- a/tools/libxc/xc_cpuid_x86.c Wed Sep 07 10:37:48 2011 +0100 +++ b/tools/libxc/xc_cpuid_x86.c Thu Sep 08 15:29:04 2011 +0200 @@ -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 */