peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

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 ++--
467b99
 2 files changed, 3 insertions(+), 3 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