2015-04-18 02:23-0400, Wei Huang: > Currently KVM only supports vPMU for Intel CPUs. This patchset enables > KVM vPMU support for AMD platform by creating a common PMU interface for > x86. By refractoring, PMU related MSR accesses from guest VMs are dispatched > to corresponding functions defined in arch specific files. > > V3: > * Rebase the code to the latest of KVM tree (queue branch); > * Branch out the Intel specific code from pmu.c to pmu_intel.c, in order > to reflect the change history more accurately; > * Name the parameters/variables more consistently (use msr, idx, > pmc_idx) across files; > * Fix issues (whitespaces, macro names, ...) based on Radim's V2 comments; > * Fix the MSR_K7_PERFCTRn and MSR_K7_EVNTSELn access code (in patch 4); Looks ok, thanks. I only have petty comments about naming and stuff and ideas leading to less code duplication ... I'll just smoke test it and give the proper tag tomorrow. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html