Re: [PATCH 07/12] KVM: selftests: Pass the root HVA directly to nested mapping functions

Jim Mattson
2025-10-09T23:30:41Z

On Wed, Oct 1, 2025 at 8:05 AM Yosry Ahmed <yosry.ahmed@linux.dev> wrote:
>
> From: Yosry Ahmed <yosryahmed@google.com>
>
> The nested mapping functions used to create EPT mappings currently
> accept a struct vmx_pages argument, only to get the EPT root from it
> later. In preparation for generalizing these functions to work for NPTs,
> pass the EPT root HVA directly instead.
>
> Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>

Reviewed-by: Jim Mattson <jmattson@google.com>