Re: [PATCH 4/4] kvm: x86: convert TSC pr_debugs to be gated by CONFIG_KVM_DEBUG

2019-07-03 Thread Paolo Bonzini
On 01/07/19 08:21, Yi Wang wrote: > There are some pr_debug in TSC code, which may affect > performance, so it may make sense to wrap them using a new > macro tsc_debug which takes effect only when CONFIG_KVM_DEBUG > is defined. > > Signed-off-by: Yi Wang > --- > arch/x86/kvm/x86.c | 18

[PATCH 4/4] kvm: x86: convert TSC pr_debugs to be gated by CONFIG_KVM_DEBUG

2019-06-30 Thread Yi Wang
There are some pr_debug in TSC code, which may affect performance, so it may make sense to wrap them using a new macro tsc_debug which takes effect only when CONFIG_KVM_DEBUG is defined. Signed-off-by: Yi Wang --- arch/x86/kvm/x86.c | 18 -- 1 file changed, 12 insertions(+), 6 de