Re: [PATCH v2 04/10] KVM: x86/mmu: Make __kvm_mmu_do_page_fault() return mapped level

From: Edgecombe, Rick P
Date: Tue Apr 16 2024 - 10:41:01 EST


On Wed, 2024-04-10 at 15:07 -0700, isaku.yamahata@xxxxxxxxx wrote:
> From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
>
> The guest memory population logic will need to know what page size or level
> (4K, 2M, ...) is mapped.

TDX needs this, but do the normal VM users need to have it fixed to 4k? Is it
actually good?

>
> Signed-off-by: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>