# HG changeset patch # Parent 238900a4ed227d04c164d4cd12dfc66f7a25b946 [PATCH] Xen: Prevent unsupported CPUID leaves from being passed through to dom0 PV guest. The PV CPUID emulation code is passing through CPUID leaves which do match the unsupported case statement. CPUID features should be passed through when Xen can safely support those features. Signed-off-by: Malcolm Crossley diff -r 238900a4ed22 xen/arch/x86/traps.c --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -900,6 +900,8 @@ static void pv_cpuid(struct cpu_user_reg break; case 0x00000005: /* MONITOR/MWAIT */ + case 0x00000006: /* Thermal and Power Management leaf */ + case 0x00000009: /* Direct Cache Access Information Leaf */ case 0x0000000a: /* Architectural Performance Monitor Features */ case 0x0000000b: /* Extended Topology Enumeration */ case 0x8000000a: /* SVM revision and features */