commit | 450917b654c12075bd2b07d1e375dfed1bc9ca1e | [log] [tgz] |
---|---|---|
author | Tianyu Lan <Tianyu.Lan@microsoft.com> | Wed Jul 18 06:12:04 2018 +0000 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Aug 06 17:59:03 2018 +0200 |
tree | a96c9cc3754d9c4942b8b790d32bff27e8df708d | |
parent | 208320ba103e01fd2f3a7b81e97c9c5bc85f0612 [diff] |
KVM/MMU: Simplify __kvm_sync_page() function Merge check of "sp->role.cr4_pae != !!is_pae(vcpu))" and "vcpu-> arch.mmu.sync_page(vcpu, sp) == 0". kvm_mmu_prepare_zap_page() is called under both these conditions. Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>