|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Add CPUID bit mask for Performance Counter Extension
On 3/4/2013 4:07 AM, Jan Beulich wrote: Yes. The MSRs are already virtualized. This patch is just adding the mask in the CPUID to allow feature detection in the initialization code.On 01.03.13 at 21:40, <suravee.suthikulpanit@xxxxxxx> wrote:From: Jacob Shin <jacob.shin@xxxxxxx>So are you saying that this will work for guests without _any_ respective virtualization code in the hypervisor? If so, it would be nice if there was text in the (currently empty) patch description making this explicit. Sorry. I am resending the patch with the commit log. Suravee JanSigned-off-by: Jacob Shin <Jacob.Shin@xxxxxxx> Submitted-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx> --- tools/libxc/xc_cpufeature.h | 1 + tools/libxc/xc_cpuid_x86.c | 1 + tools/libxl/libxl_cpuid.c | 1 + 3 files changed, 3 insertions(+) diff --git a/tools/libxc/xc_cpufeature.h b/tools/libxc/xc_cpufeature.h index c464e3a..c804af3 100644 --- a/tools/libxc/xc_cpufeature.h +++ b/tools/libxc/xc_cpufeature.h @@ -125,6 +125,7 @@ #define X86_FEATURE_NODEID_MSR 19 /* NodeId MSR */ #define X86_FEATURE_TBM 21 /* trailing bit manipulations */ #define X86_FEATURE_TOPOEXT 22 /* topology extensions CPUID leafs */ +#define X86_FEATURE_PERFCTR_CORE 23 /* core performance counter extensions *//* Intel-defined CPU features, CPUID level 0x00000007:0 (ebx) */ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |