Re: [PATCH 21/24] KVM: x86/mmu: Tweak auditing WARN for A/D bits to !PRESENT (was MMIO)

From: Paolo Bonzini
Date: Fri May 07 2021 - 03:39:10 EST


On 07/05/21 01:05, Matteo Croce wrote:
On Thu, 25 Feb 2021 12:47:46 -0800
Sean Christopherson <seanjc@xxxxxxxxxx> wrote:

Tweak the MMU_WARN that guards against weirdness when querying A/D
status to fire on a !MMU_PRESENT SPTE, as opposed to a MMIO SPTE.
Attempting to query A/D status on any kind of !MMU_PRESENT SPTE, MMIO
or otherwise, indicates a KVM bug. Case in point, several now-fixed
bugs were identified by enabling this new WARN.

Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

You made the 1.000.000th commit, congrats!

$ git log --oneline --reverse |sed '1000000!d'
8f366ae6d8c5 KVM: x86/mmu: Tweak auditing WARN for A/D bits to !PRESENT (was MMIO)

🦀🦀🦀

Paolo