Re: [KVM x86 vPMU Patch 1/2] KVM: x86/vPMU: Move the definition of kvm_pmu_ops to arch-specific files

2015-08-11 Thread Andrew Jones
On Fri, Aug 07, 2015 at 03:53:29PM -0400, Wei Huang wrote: > Instead of being defined in a common header file, the kvm_pmu_ops struct > is arch (vmx/svm) specific. This trivial patch relocates two extern > variable definition to their arch-specific files. > > Signed-off-by: Wei Huang > --- >

Re: [KVM x86 vPMU Patch 1/2] KVM: x86/vPMU: Move the definition of kvm_pmu_ops to arch-specific files

2015-08-11 Thread Andrew Jones
On Fri, Aug 07, 2015 at 03:53:29PM -0400, Wei Huang wrote: Instead of being defined in a common header file, the kvm_pmu_ops struct is arch (vmx/svm) specific. This trivial patch relocates two extern variable definition to their arch-specific files. Signed-off-by: Wei Huang w...@redhat.com

[KVM x86 vPMU Patch 1/2] KVM: x86/vPMU: Move the definition of kvm_pmu_ops to arch-specific files

2015-08-07 Thread Wei Huang
Instead of being defined in a common header file, the kvm_pmu_ops struct is arch (vmx/svm) specific. This trivial patch relocates two extern variable definition to their arch-specific files. Signed-off-by: Wei Huang --- arch/x86/kvm/pmu.h | 2 -- arch/x86/kvm/svm.c | 1 + arch/x86/kvm/vmx.c | 1

[KVM x86 vPMU Patch 1/2] KVM: x86/vPMU: Move the definition of kvm_pmu_ops to arch-specific files

2015-08-07 Thread Wei Huang
Instead of being defined in a common header file, the kvm_pmu_ops struct is arch (vmx/svm) specific. This trivial patch relocates two extern variable definition to their arch-specific files. Signed-off-by: Wei Huang w...@redhat.com --- arch/x86/kvm/pmu.h | 2 -- arch/x86/kvm/svm.c | 1 +