diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2011-03-28 10:29:27 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 07:57:03 -0400 |
commit | 7c5625227ff8c81953e953d8e25c3eba2ab0aeb3 (patch) | |
tree | 4592af4fbf9e9f95cdd063b5423afee24a1e6b90 /arch/x86/include/asm | |
parent | a0c0ab2feb9d696978a7475dce4253ec62e98a16 (diff) | |
download | blackbird-op-linux-7c5625227ff8c81953e953d8e25c3eba2ab0aeb3.tar.gz blackbird-op-linux-7c5625227ff8c81953e953d8e25c3eba2ab0aeb3.zip |
KVM: MMU: remove mmu_seq verification on pte update path
The mmu_seq verification can be removed since we get the pfn in the
protection of mmu_lock.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index f7dfd6479d02..ecdc562ea3e2 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -274,7 +274,7 @@ struct kvm_mmu { struct kvm_mmu_page *sp); void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva); void (*update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, - u64 *spte, const void *pte, unsigned long mmu_seq); + u64 *spte, const void *pte); hpa_t root_hpa; int root_level; int shadow_root_level; |