Skip to content

Commit

Permalink
KVM: MMU: When debug is enabled, make it a run-time parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Avi Kivity committed Jul 20, 2008
1 parent 7a5b56d commit 6ada8cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ada8cc

Please sign in to comment.