Re: [PATCH] KVM: selftests: Slightly simplify memstress_setup_nested()
From: Sean Christopherson
Date: Thu Jan 15 2026 - 13:06:43 EST
On Tue, 13 Jan 2026 17:14:56 +0000, Yosry Ahmed wrote:
> Instead of calling memstress_setup_ept_mappings() only in the first
> iteration in the loop, move it before the loop.
>
> The call needed to happen within the loop before commit e40e72fec0de
> ("KVM: selftests: Stop passing VMX metadata to TDP mapping functions"),
> as memstress_setup_ept_mappings() used to take in a pointer to vmx_pages
> and pass it into tdp_identity_map_1g() (to get the EPT root GPA). This
> is no longer the case, as tdp_identity_map_1g() gets the EPT root
> through stage2 MMU.
>
> [...]
Applied to kvm-x86 selftests, thanks!
[1/1] KVM: selftests: Slightly simplify memstress_setup_nested()
https://github.com/kvm-x86/linux/commit/f756ed82c62a
--
https://github.com/kvm-x86/linux/tree/next