Re: [RFC PATCH 2/6] KVM: X86: Walk shadow page starting with shadow_root_level

From: Sean Christopherson
Date: Tue Jan 04 2022 - 15:35:01 EST


On Fri, Dec 10, 2021, Lai Jiangshan wrote:
> From: Lai Jiangshan <laijs@xxxxxxxxxxxxxxxxx>
>
> Walking from the root page of the shadow page table should start with
> the level of the shadow page table: shadow_root_level.
>
> Also change a small defect in audit_mappings(), it is believed
> that the current walking level is more valuable to print.
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxxxxx>
> ---
> arch/x86/kvm/mmu/mmu_audit.c | 5 ++---

I vote we remove mmu_audit.c. It has bitrotted horribly, and none of the
current set of KVM developers even knows how to use it effectively.