diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2011-03-27 22:29:27 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 07:57:03 -0400 |
commit | 7c5625227ff8c81953e953d8e25c3eba2ab0aeb3 (patch) | |
tree | 4592af4fbf9e9f95cdd063b5423afee24a1e6b90 /arch/x86/include/asm/kvm_host.h | |
parent | a0c0ab2feb9d696978a7475dce4253ec62e98a16 (diff) |
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/kvm_host.h')
-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 { | |||
274 | struct kvm_mmu_page *sp); | 274 | struct kvm_mmu_page *sp); |
275 | void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva); | 275 | void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva); |
276 | void (*update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, | 276 | void (*update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, |
277 | u64 *spte, const void *pte, unsigned long mmu_seq); | 277 | u64 *spte, const void *pte); |
278 | hpa_t root_hpa; | 278 | hpa_t root_hpa; |
279 | int root_level; | 279 | int root_level; |
280 | int shadow_root_level; | 280 | int shadow_root_level; |