]> xenbits.xensource.com Git - xen.git/commit
x86/vpmu: rename {svm,vmx}_vpmu_initialise to {amd,core2}_vpmu_initialise
authorXenia Ragiadakou <burzalodowa@gmail.com>
Tue, 28 Feb 2023 15:06:06 +0000 (16:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 28 Feb 2023 15:06:06 +0000 (16:06 +0100)
commit976ae57b30d0e9432b51ca2ff408d8e52f40f280
tree30fd77499755d4a35c7c406d43bfb0645cf2ef8c
parent1c2cb0b82a777ce8853c083e35997d335400f313
x86/vpmu: rename {svm,vmx}_vpmu_initialise to {amd,core2}_vpmu_initialise

PMU virtualization is not dependent on the hardware virtualization support.
Rename {svm,vmx}_vpmu_initialise to {amd,core2}_vpmu_initialise because
the {svm,vmx} prefix is misleading.

Take the opportunity to remove the also misleading comment stating that
vpmu is specific to hvm guests, and correct the filename.

No functional change intended.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/vpmu_amd.c
xen/arch/x86/cpu/vpmu_intel.c