From: Zenghui Yu <zenghui.yu@linux.dev>
To: Sebastian Ott <sebott@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>, Oliver Upton <oupton@kernel.org>,
Sean Christopherson <seanjc@google.com>,
Jiakai Xu <xujiakai2025@iscas.ac.cn>,
Shuah Khan <shuah@kernel.org>,
Andrew Jones <andrew.jones@oss.qualcomm.com>,
Anup Patel <anup@brainfault.org>,
Paolo Bonzini <pbonzini@redhat.com>,
kvm@vger.kernel.org, linux-kselftest@vger.kernel.org,
kvmarm@lists.linux.dev
Subject: Re: [PATCH v2] KVM: selftests: fix steal_time for arm64 with host page size > 4K
Date: Tue, 15 Sep 2026 09:50:29 +0800 [thread overview]
Message-ID: <62f1f8d6-0902-4c1f-a32e-6ae5d90b1fa6@linux.dev> (raw)
In-Reply-To: <20260914131013.60334-1-sebott@redhat.com>
On 9/14/26 9:10 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 <zenghui.yu@linux.dev>
> Link: https://lore.kernel.org/kvmarm/7575a845-a542-4b16-b512-aec3126f97f3@linux.dev/T/#u
> Signed-off-by: Sebastian Ott <sebott@redhat.com>
> ---
> tools/testing/selftests/kvm/steal_time.c | 30 ++++++++++++++++--------
> 1 file changed, 20 insertions(+), 10 deletions(-)
Reviewed-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Thanks,
Zenghui
next prev parent reply other threads:[~2026-09-15 1:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 13:10 [PATCH v2] KVM: selftests: fix steal_time for arm64 with host page size > 4K Sebastian Ott
2026-09-15 1:50 ` Zenghui Yu [this message]
2026-09-15 22:25 ` Oliver Upton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=62f1f8d6-0902-4c1f-a32e-6ae5d90b1fa6@linux.dev \
--to=zenghui.yu@linux.dev \
--cc=andrew.jones@oss.qualcomm.com \
--cc=anup@brainfault.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=linux-kselftest@vger.kernel.org \
--cc=maz@kernel.org \
--cc=oupton@kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=sebott@redhat.com \
--cc=shuah@kernel.org \
--cc=xujiakai2025@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.