Thread (7 messages) flat view 7 messages, 3 authors, 5d ago
COOLING5d

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH BlueZ v2 0/4] test-runner: use virtio-fs by default, functional test speedup

From: Pauli Virtanen <hidden>
Date: 2026-09-12 18:18:33

v2:
- refactor start_qemu() argv building
- split out rootfs setup to separate functions
- fix bug in check_virtualization() that causes problems here

***

Use virtio-fs instead of 9p, which gives 3x reduction in CPU time for
functional tests:

Before:
$ time make check-functional
real	1m56,857s
user	8m37,727s
sys	2m21,655s

After:
$ time make check-functional
real	1m4,714s
user	2m52,831s
sys	0m37,379s

Wall clock improvement becomes more significant under CPU load.

Requires /usr/libexec/virtiofsd installed, and CONFIG_VIRTIO_FS=y in
kernel. Enable that option in tester configs.

If virtiofsd is not available, fall back to 9p as before.

Pauli Virtanen (4):
  tools/test-runner: replace alloca() based argv setup
  doc: enable virtio-fs in tester kernel configs
  tools/test-runner: use virtiofsd for filesystem passthrough
  tools/test-runner: Fix CPUID register clobbers

 doc/ci.config       |   2 +
 doc/test-runner.rst |  10 +-
 doc/tester.config   |   2 +
 tools/test-runner.c | 414 +++++++++++++++++++++++++++++++++++---------
 4 files changed, 346 insertions(+), 82 deletions(-)

-- 
2.55.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help