lkml.org 
[lkml]   [2019]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/4] kvm: x86: introduce CONFIG_KVM_DEBUG
From
Date
On 01/07/19 08:21, Yi Wang wrote:
> This series introduce CONFIG_KVM_DEBUG, using which we can make
> the invoking *_debug in KVM simly and uniform.
>
> FYI: the former discussion can been found in:
> https://www.spinics.net/lists/kvm/msg187026.html

Basically everything except MMU_DEBUG can just be deleted, they are
little more than debugging printk that were left in the code.

For MMU_DEBUG, the way to go is to add more tracepoints, but then
converting all pgprintk occurrences to tracepoints would be wrong. You
can only find the "right" tracepoints when debugging MMU code. I do
have a couple patches in this area, I will send them when possible.

Paolo

> Yi Wang (4):
> kvm: x86: Add CONFIG_KVM_DEBUG
> kvm: x86: allow set apic and ioapic debug dynamically
> kvm: x86: replace MMU_DEBUG with CONFIG_KVM_DEBUG
> kvm: x86: convert TSC pr_debugs to be gated by CONFIG_KVM_DEBUG
>
> arch/x86/kvm/Kconfig | 8 ++++++++
> arch/x86/kvm/ioapic.c | 2 +-
> arch/x86/kvm/lapic.c | 5 ++++-
> arch/x86/kvm/mmu.c | 5 ++---
> arch/x86/kvm/x86.c | 18 ++++++++++++------
> 5 files changed, 27 insertions(+), 11 deletions(-)
>

\
 
 \ /
  Last update: 2019-07-03 18:27    [W:0.051 / U:4.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site