Re: [PATCH V3 1/2] KVM: x86/mmu: Verify shadow walk doesn't terminate early in page faults

From: Paolo Bonzini
Date: Fri Sep 24 2021 - 05:37:40 EST


On 06/09/21 14:25, Lai Jiangshan wrote:
Opportunistically use fault->goal-level instead of it.level in
FNAME(fetch) to further clarify that KVM always installs the leaf SPTE at
the target level.

This argument will go away when mmu_set_spte starts fishing out the level from the kvm_mmu_page role, but it makes a good point for now.

Paolo