Re: [PATCH 4/4] x86/hvm: create hvm_funcs for {svm,vmx}_{set,clear}_msr_intercept()

2023-03-01 Thread Jan Beulich
On 28.02.2023 21:14, Xenia Ragiadakou wrote: > > On 2/28/23 16:58, Jan Beulich wrote: >> On 27.02.2023 08:56, Xenia Ragiadakou wrote: >>> Add hvm_funcs hooks for {set,clear}_msr_intercept() for controlling the msr >>> intercept in common vpmu code. >> >> What is this going to buy us? All calls

Re: [PATCH 4/4] x86/hvm: create hvm_funcs for {svm,vmx}_{set,clear}_msr_intercept()

2023-02-28 Thread Xenia Ragiadakou
On 2/28/23 16:58, Jan Beulich wrote: On 27.02.2023 08:56, Xenia Ragiadakou wrote: Add hvm_funcs hooks for {set,clear}_msr_intercept() for controlling the msr intercept in common vpmu code. What is this going to buy us? All calls ... --- a/xen/arch/x86/cpu/vpmu_amd.c +++

Re: [PATCH 4/4] x86/hvm: create hvm_funcs for {svm,vmx}_{set,clear}_msr_intercept()

2023-02-28 Thread Jan Beulich
On 27.02.2023 08:56, Xenia Ragiadakou wrote: > Add hvm_funcs hooks for {set,clear}_msr_intercept() for controlling the msr > intercept in common vpmu code. What is this going to buy us? All calls ... > --- a/xen/arch/x86/cpu/vpmu_amd.c > +++ b/xen/arch/x86/cpu/vpmu_amd.c > @@ -165,9 +165,9 @@

[PATCH 4/4] x86/hvm: create hvm_funcs for {svm,vmx}_{set,clear}_msr_intercept()

2023-02-26 Thread Xenia Ragiadakou
Add hvm_funcs hooks for {set,clear}_msr_intercept() for controlling the msr intercept in common vpmu code. No functional change intended. Signed-off-by: Xenia Ragiadakou --- xen/arch/x86/cpu/vpmu_amd.c | 10 - xen/arch/x86/cpu/vpmu_intel.c | 24