]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4056b381524fe40ea557f83c2263182a3daf37a6
tree2a6f8e9a3838153ac92737082eb4eea8e548ddf6
parent44866ed3b045f56935277e91b9f911e8578191af
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