KVM: x86: reintroduce kvm_is_mmio_pfn
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Jul 2015 13:03:18 +0000 (15:03 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2015 11:25:24 +0000 (13:25 +0200)
The call to get_mt_mask was really using kvm_is_reserved_pfn to
detect an MMIO-backed page.  In this case, we want "false" to be
returned for the zero page.

Reintroduce a separate kvm_is_mmio_pfn predicate for this use
only.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c

Simple merge