Re: [PATCH v2 10/13] KVM: selftests: Isolate the guest_memfd Copy-on-Write negative testcase

From: Ackerley Tng

Date: Mon Oct 06 2025 - 14:28:04 EST


Sean Christopherson <seanjc@xxxxxxxxxx> writes:

> Move the guest_memfd Copy-on-Write (CoW) testcase to its own function to
> better separate positive testcases from negative testcases.
>
> No functional change intended.
>
> Suggested-by: Ackerley Tng <ackerleytng@xxxxxxxxxx>

Reviewed-by: Ackerley Tng <ackerleytng@xxxxxxxxxx>
Tested-by: Ackerley Tng <ackerleytng@xxxxxxxxxx>

> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> ---
> tools/testing/selftests/kvm/guest_memfd_test.c | 18 ++++++++++++------
> 1 file changed, 12 insertions(+), 6 deletions(-)
>
>
> [...snip...]
>