KVM: MMU: move zap/flush to kvm_mmu_get_page
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Feb 2016 10:26:10 +0000 (11:26 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2016 11:33:30 +0000 (12:33 +0100)
commit2a74003ae818cfaf129ed4df89499a1c2b796129
tree57868474c27820357c90cf1c5c0ad12a1d3ac734
parent1f50f1b3a4630966fb3cd1f56892acb03580bd37
KVM: MMU: move zap/flush to kvm_mmu_get_page

kvm_mmu_get_page is the only caller of kvm_sync_page_transient
and kvm_sync_pages.  Moving the handling of the invalid_list there
removes the need for the underdocumented kvm_sync_page_transient
function.

Reviewed-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c