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-Tag: v2.6.27-rc1~968^2~21 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6ada8cca79cb971f5da7d1756f4f9292e3ef1e03;p=linux-2.6-omap-h63xx.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 5ebb2788bd7..5994645dcee 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