[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL v2 13/16] iotests: Add -display none to the qemu opti
From: |
Max Reitz |
Subject: |
[Qemu-block] [PULL v2 13/16] iotests: Add -display none to the qemu options |
Date: |
Tue, 3 Sep 2019 15:35:50 +0200 |
Without this argument, qemu will print an angry message about not being
able to connect to a display server if $DISPLAY is not set. For me,
that breaks iotests.supported_formats() because it thus only sees
["Could", "not", "connect"] as the supported formats.
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/check | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index c24874ff4a..a58232eefb 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -581,13 +581,13 @@ export QEMU_PROG="$(type -p "$QEMU_PROG")"
case "$QEMU_PROG" in
*qemu-system-arm|*qemu-system-aarch64)
- export QEMU_OPTIONS="-nodefaults -machine virt,accel=qtest"
+ export QEMU_OPTIONS="-nodefaults -display none -machine
virt,accel=qtest"
;;
*qemu-system-tricore)
- export QEMU_OPTIONS="-nodefaults -machine
tricore_testboard,accel=qtest"
+ export QEMU_OPTIONS="-nodefaults -display none -machine
tricore_testboard,accel=qtest"
;;
*)
- export QEMU_OPTIONS="-nodefaults -machine accel=qtest"
+ export QEMU_OPTIONS="-nodefaults -display none -machine accel=qtest"
;;
esac
--
2.21.0
- [Qemu-block] [PULL v2 03/16] block: posix: Always allocate the first block, (continued)
- [Qemu-block] [PULL v2 03/16] block: posix: Always allocate the first block, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 04/16] iotests: Test allocate_first_block() with O_DIRECT, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 05/16] iotests: Fix _filter_img_create(), Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 07/16] iotests: Keep testing broken relative extent paths, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 08/16] vmdk: Reject invalid compressed writes, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 06/16] vmdk: Use bdrv_dirname() for relative extent paths, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 09/16] iotests: Disable broken streamOptimized tests, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 10/16] iotests: Disable 110 for vmdk.twoGbMaxExtentSparse, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 11/16] iotests: Disable 126 for flat vmdk subformats, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 12/16] file-posix: fix request_alignment typo, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 13/16] iotests: Add -display none to the qemu options,
Max Reitz <=
- [Qemu-block] [PULL v2 14/16] iotests: Check for enabled drivers before testing them, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 16/16] iotests: Unify cache mode quoting, Max Reitz, 2019/09/03
- [Qemu-block] [PULL v2 15/16] tests/check-block: Skip iotests when sanitizers are enabled, Max Reitz, 2019/09/03
- Re: [Qemu-block] [PULL v2 00/16] Block patches, Peter Maydell, 2019/09/04