Re: [PATCH] KVM: selftests: memslot_perf_test: make host wait timeout configurable
From: Maciej S. Szmigiero
Date: Tue Apr 07 2026 - 06:29:09 EST
On 7.04.2026 12:21, Mayuresh Chitale wrote:
On Tue, Apr 7, 2026 at 4:30 AM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
On Thu, Apr 02, 2026, Maciej S. Szmigiero wrote:
On 2.04.2026 12:29, Mayuresh Chitale wrote:
When memslot_perf_test is run on qemu, sometimes the RW subtest fails
due to sigalarm, indicating that the guest sync did not finish within
the expected duration of 10 seconds. Since the current timeout value is
itself a bump up from the original 2s, making the host timeout value
configurable via a new command line parameter. Now the test can be
invoked with '-a' argument to run the test with a suitable host timeout
value.
Signed-off-by: Mayuresh Chitale <mayuresh.chitale@xxxxxxxxxxxxxxxx>
---
Out of curiosity: which KVM-enabled setup takes more than 10 seconds
to run that RW test?
Hmm, I assume "run on qemu" means running in a VM that's fully emulated by QEMU?
That would probably explain why it's so slow?
Yes. thats correct. I can update the commit message to reflect that.
Thanks for info Mayuresh and Sean.
I thought QEMU has only rudimentary SVM emulation, but apparently it's enough for
KVM selftests to run.
Thanks,
Maciej