From: Avi Kivity Date: Sun, 22 Jun 2008 13:45:24 +0000 (+0300) Subject: KVM: MMU: When debug is enabled, make it a run-time parameter X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6ada8cca79cb971f5da7d1756f4f9292e3ef1e03;p=linux-beck.git KVM: MMU: When debug is enabled, make it a run-time parameter Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 5ebb2788bd73..5994645dcee0 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -66,7 +66,8 @@ static void kvm_mmu_audit(struct kvm_vcpu *vcpu, const char *msg) {} #endif #if defined(MMU_DEBUG) || defined(AUDIT) -static int dbg = 1; +static int dbg = 0; +module_param(dbg, bool, 0644); #endif #ifndef MMU_DEBUG