Re: [PATCH v2] KVM: x86/mmu: Expose number of shadow MMU shadow pages as a stat

From: Paolo Bonzini

Date: Wed Jun 24 2026 - 05:23:46 EST


On Mon, Jun 15, 2026 at 10:57 PM Yosry Ahmed <yosry@xxxxxxxxxx> wrote:
> Why not expose indirect_shadow_pages? IIRC that was also one of the
> stats we (mostly you) used while debugging?

I agree it would be useful if you have the shadow MMU acting as both
L1 and L2 MMU. But is that going to happen in any interesting setup?

- Queued the patch, thanks!

Paolo