aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2011-11-28 07:43:18 -0500
committerAvi Kivity <avi@redhat.com>2011-12-27 04:22:10 -0500
commitd750ea28865dbff6a73444358d189dd811c68c50 (patch)
treee1fe75c51e8569412d2eeb9de289daede66046ae /arch
parente459e3228dc57f7160e564ce0f09edb5bee656d3 (diff)
KVM: MMU: remove oos_shadow parameter
The unsync code should be stable now, maybe it is the time to remove this parameter to cleanup the code a little bit Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/mmu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 262a3af1f0ec..b1178d1bb8f5 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -93,9 +93,6 @@ static int dbg = 0;
93module_param(dbg, bool, 0644); 93module_param(dbg, bool, 0644);
94#endif 94#endif
95 95
96static int oos_shadow = 1;
97module_param(oos_shadow, bool, 0644);
98
99#ifndef MMU_DEBUG 96#ifndef MMU_DEBUG
100#define ASSERT(x) do { } while (0) 97#define ASSERT(x) do { } while (0)
101#else 98#else
@@ -2196,8 +2193,6 @@ static int mmu_need_write_protect(struct kvm_vcpu *vcpu, gfn_t gfn,
2196 return 1; 2193 return 1;
2197 2194
2198 if (!need_unsync && !s->unsync) { 2195 if (!need_unsync && !s->unsync) {
2199 if (!oos_shadow)
2200 return 1;
2201 need_unsync = true; 2196 need_unsync = true;
2202 } 2197 }
2203 } 2198 }