Blame 0009-Fix-iotests-with-modules-and-qemu-system-s390x.patch

467b99
From: Cole Robinson <crobinso@redhat.com>
467b99
Date: Sat, 4 Jun 2022 20:29:46 -0400
467b99
Subject: [PATCH] Fix iotests with modules and qemu-system-s390x
467b99
Content-type: text/plain
467b99
467b99
Signed-off-by: Cole Robinson <crobinso@redhat.com>
467b99
---
467b99
 tests/qemu-iotests/common.rc | 4 ++--
8d6927
 1 file changed, 2 insertions(+), 2 deletions(-)
467b99
467b99
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
467b99
index 227e0a5be9..97f8e0a15f 100644
467b99
--- a/tests/qemu-iotests/common.rc
467b99
+++ b/tests/qemu-iotests/common.rc
467b99
@@ -975,7 +975,7 @@ _require_large_file()
467b99
 #
467b99
 _require_devices()
467b99
 {
467b99
-    available=$($QEMU -M none -device help | \
467b99
+    available=$($QEMU -M none -device help 2> /dev/null | \
467b99
                 grep ^name | sed -e 's/^name "//' -e 's/".*$//')
467b99
     for device
467b99
     do
467b99
@@ -987,7 +987,7 @@ _require_devices()
467b99
 
467b99
 _require_one_device_of()
467b99
 {
467b99
-    available=$($QEMU -M none -device help | \
467b99
+    available=$($QEMU -M none -device help 2> /dev/null | \
467b99
                 grep ^name | sed -e 's/^name "//' -e 's/".*$//')
467b99
     for device
467b99
     do