Re: [PATCH v13 02/10] KVM: x86/vmx: Make vmx_set_intercept_for_msr() non-static and expose it

2020-09-29 Thread Xu, Like
Hi Sean, On 2020/9/29 11:13, Sean Christopherson wrote: On Sun, Jul 26, 2020 at 11:32:21PM +0800, Like Xu wrote: It's reasonable to call vmx_set_intercept_for_msr() in other vmx-specific files (e.g. pmu_intel.c), so expose it without semantic changes hopefully. I suppose it's reasonable, but

Re: [PATCH v13 02/10] KVM: x86/vmx: Make vmx_set_intercept_for_msr() non-static and expose it

2020-09-28 Thread Sean Christopherson
On Sun, Jul 26, 2020 at 11:32:21PM +0800, Like Xu wrote: > It's reasonable to call vmx_set_intercept_for_msr() in other vmx-specific > files (e.g. pmu_intel.c), so expose it without semantic changes hopefully. I suppose it's reasonable, but you still need to state what is actually going to use

[PATCH v13 02/10] KVM: x86/vmx: Make vmx_set_intercept_for_msr() non-static and expose it

2020-07-26 Thread Like Xu
It's reasonable to call vmx_set_intercept_for_msr() in other vmx-specific files (e.g. pmu_intel.c), so expose it without semantic changes hopefully. Signed-off-by: Like Xu --- arch/x86/kvm/vmx/vmx.c | 4 ++-- arch/x86/kvm/vmx/vmx.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff