x86/vpmu: Add a cpuid function
authorDietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Thu, 15 Mar 2012 14:11:30 +0000 (15:11 +0100)
committerDietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Thu, 15 Mar 2012 14:11:30 +0000 (15:11 +0100)
commit3db3601531e994e8ec00d89a946829bfc7532723
treea97f8e0e9c298fb39a03f6a28ac43fad497b9c66
parenta13b23fffeff0e95699b299f73cb34900fe5c89e
x86/vpmu: Add a cpuid function

Add a new function - do_cpuid - to the vpmu struct arch_vpmu_ops. This
permits the vpmu to set specific bits in the cpuid for the hvm guest.

Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vpmu_core2.c
xen/arch/x86/hvm/vpmu.c
xen/include/asm-x86/hvm/vpmu.h