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 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(-) -- 1.8.3.1