aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2011-11-28 20:43:18 +0800
committerAvi Kivity <avi@redhat.com>2011-12-27 11:22:10 +0200
commitd750ea28865dbff6a73444358d189dd811c68c50 (patch)
treee1fe75c51e8569412d2eeb9de289daede66046ae /arch/x86/kvm
parentKVM: MMU: move the relevant mmu code to mmu.c (diff)
downloadlinux-dev-d750ea28865dbff6a73444358d189dd811c68c50.tar.xz
linux-dev-d750ea28865dbff6a73444358d189dd811c68c50.zip
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/x86/kvm')
-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;
module_param(dbg, bool, 0644);
#endif
-static int oos_shadow = 1;
-module_param(oos_shadow, bool, 0644);
-
#ifndef MMU_DEBUG
#define ASSERT(x) do { } while (0)
#else
@@ -2196,8 +2193,6 @@ static int mmu_need_write_protect(struct kvm_vcpu *vcpu, gfn_t gfn,
return 1;
if (!need_unsync && !s->unsync) {
- if (!oos_shadow)
- return 1;
need_unsync = true;
}
}