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

From: Paolo Bonzini
Date: Tue Jan 04 2022 - 15:37:35 EST


On 1/4/22 21:34, Sean Christopherson wrote:
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.

No complaints.

Paolo