Messages in this thread | | | Date | Wed, 12 Jan 2022 16:20:25 +0000 | From | Sean Christopherson <> | Subject | Re: [PATCH v2] KVM: x86: Make the module parameter of vPMU more common |
| |
On Wed, Jan 12, 2022, Like Xu wrote: > --- > v1 -> v2 Changelog: > - prefer we keep "pmu" for the module param; (Sean)
... > +/* Enable/disable PMU virtualization */ > +bool __read_mostly pmu = true; > +EXPORT_SYMBOL_GPL(pmu); > +module_param(pmu, bool, 0444);
Sorry, I should have been more explicit. What I meant was this:
/* Enable/disable PMU virtualization */ bool __read_mostly enable_pmu = true; module_param_named(pmu, enable_pmu, bool, 0444);
That way KVM can use "enable_pmu" for all its checks, but the user only needs to type "pmu=?" when manipulating the module param.
| |