commit | d1fe9219551e914f26219afaca1063b280f25963 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jul 07 15:03:18 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 10 13:25:24 2015 +0200 |
tree | f8d2e9309f11a47dcdb76bbd93065bc52ddafb6e | |
parent | 5d75a747596be046546eeb9d6ba39a3af851a1af [diff] |
KVM: x86: reintroduce kvm_is_mmio_pfn 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>