summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2011-09-22 16:55:36 +0800
committerAvi Kivity <avi@redhat.com>2011-12-27 11:16:53 +0200
commitd01f8d5e02cc79998e3160f7ad545f77891b00e5 (patch)
tree2378c32a3a6bae9b18a64a640e5e917eefb42385 /arch/x86/include/asm/kvm_host.h
parent6f6fbe98c3a9f3e9d69cd354a0459989e594e707 (diff)
downloadblackbird-op-linux-d01f8d5e02cc79998e3160f7ad545f77891b00e5.tar.gz
blackbird-op-linux-d01f8d5e02cc79998e3160f7ad545f77891b00e5.zip
KVM: MMU: do not mark accessed bit on pte write path
In current code, the accessed bit is always set when page fault occurred, do not need to set it on pte write path Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 4ceefa9567ed..f8ab0d760231 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -356,7 +356,6 @@ struct kvm_vcpu_arch {
gfn_t last_pt_write_gfn;
int last_pt_write_count;
u64 *last_pte_updated;
- gfn_t last_pte_gfn;
struct fpu guest_fpu;
u64 xcr0;
OpenPOWER on IntegriCloud