On 6/22/26 10:14 PM, Sebastian Ott wrote:
>
> Fix the following failure when running with 16K host page size:
> ==== Test Assertion Failure ====
> lib/kvm_util.c:991: vm_adjust_num_guest_pages(vm->mode, npages) == npages
> pid=873 tid=873 errno=0 - Success
> 1 0x0000000000405a27: vm_mem_add at kvm_util.c:991
> 2 0x000000000040241f: check_steal_time_uapi at steal_time.c:223
> (discriminator 7)
> 3 (inlined by) main at steal_time.c:539 (discriminator 7)
> 4 0x00007fff8b57af3b: ?? ??:0
> 5 0x00007fff8b57b007: ?? ??:0
> 6 0x0000000000402b6f: _start at ??:?
> Number of guest pages is not compatible with the host. Try npages=4
>
> Fixes: fc240715fc50 ("KVM: selftests: arm64: Fix steal_time test after UAPI
> refactoring")
> Reported-by: Zenghui Yu <[email protected]>
> Link:
> https://lore.kernel.org/kvmarm/[email protected]/T/#u
> Signed-off-by: Sebastian Ott <[email protected]>
Looks good to me,
Reviewed-by: Zenghui Yu <[email protected]>
Thanks,
Zenghui