3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

test-runner: set msize to remove runtime warning

Newer QEMU version warn that msize is set too low and may result
in poor IO performance. The default is 8KiB which QEMU claims is
too low. Explicitly setting to 10KiB removes the warning:

qemu-system-x86_64: warning: 9p: degraded performance: a
reasonable high msize should be chosen on client/guest side
(chosen msize is <= 8192).
See https://wiki.qemu.org/Documentation/9psetup#msize for details.
This commit is contained in:
James Prestwood 2021-07-27 15:11:27 -07:00 committed by Denis Kenzior
parent 74fa720e60
commit 8d40c37469

View File

@ -1364,7 +1364,7 @@ def run_tests():
config.ctx = TestContext(args) config.ctx = TestContext(args)
if args.log: if args.log:
mount('logdir', args.log, '9p', 0, 'trans=virtio,version=9p2000.L') mount('logdir', args.log, '9p', 0, 'trans=virtio,version=9p2000.L,msize=10240')
# Clear out any log files from other test runs # Clear out any log files from other test runs
for f in glob('%s/*' % args.log): for f in glob('%s/*' % args.log):
print("removing %s" % f) print("removing %s" % f)