KVM: MMU: When debug is enabled, make it a run-time parameter

Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
Avi Kivity 2008-06-22 16:45:24 +03:00
parent 7a5b56dfd3
commit 6ada8cca79

View 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