Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1fe9219 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 5d75a747
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment