KVM: x86/mmu: Consolidate "is MMIO SPTE" code
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 1 Aug 2019 20:35:23 +0000 (13:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Aug 2019 08:09:25 +0000 (10:09 +0200)
commit26c44a63a291893e0a00f01e96b6e1d0310a79a9
tree2a6f8e9a3838153ac92737082eb4eea8e548ddf6
parent4af7715110a2617fc40ac2c1232f664019269f3a
KVM: x86/mmu: Consolidate "is MMIO SPTE" code

Replace the open-coded "is MMIO SPTE" checks in the MMU warnings
related to software-based access/dirty tracking to make the code
slightly more self-documenting.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c