]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: MMU: When debug is enabled, make it a run-time parameter
authorAvi Kivity <avi@qumranet.com>
Sun, 22 Jun 2008 13:45:24 +0000 (16:45 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:35 +0000 (12:42 +0300)
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c

index 5ebb2788bd73cad5246d6993f2ce4d3fea6fc9ae..5994645dcee0996d1f5a21192b1ce2cfcafbe86a 100644 (file)
@@ -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