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

From: Maxim Levitsky
Date: Tue Jan 04 2022 - 15:43:30 EST


On Tue, 2022-01-04 at 21:37 +0100, Paolo Bonzini wrote:
> 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.

I played with it once, its not that bad IMHO.

Best regards,
Maxim Levitsky

>
> Paolo
>