KVM: MMU: invert return value of mmu.sync_page and *kvm_sync_page*
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Feb 2016 10:07:14 +0000 (11:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2016 11:33:26 +0000 (12:33 +0100)
commit1f50f1b3a4630966fb3cd1f56892acb03580bd37
treec885d06890ff0b9f68ffad158ad269abaeb39776
parent9a43c5d9c3f13a2fc3864570e33438347319b584
KVM: MMU: invert return value of mmu.sync_page and *kvm_sync_page*

Return true if the page was synced (and the TLB must be flushed)
and false if the page was zapped.

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