summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-06-22 13:45:24 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-07-20 09:42:35 (GMT)
commit6ada8cca79cb971f5da7d1756f4f9292e3ef1e03 (patch)
tree2bc5eedd2a0a10327be2f0e32d6d3d04fc2362ef /arch
parent7a5b56dfd3a682a51fc84682290d5147872a8e99 (diff)
downloadlinux-fsl-qoriq-6ada8cca79cb971f5da7d1756f4f9292e3ef1e03.tar.xz
KVM: MMU: When debug is enabled, make it a run-time parameter
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/mmu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 5ebb278..5994645 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