[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 8/9] qemu-iotests: Fix stderr handling in common.
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH v3 8/9] qemu-iotests: Fix stderr handling in common.qemu |
Date: |
Thu, 20 Nov 2014 16:27:13 +0100 |
The original intention was to pipe stderr of qemu into $fifo_out.
However, the redirections were specified in the wrong order for this.
This patch fixes it.
Now qemu's output on stderr can be retrieved with _send_qemu_cmd, which
applies several useful filters on the output that were missing before.
Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/common.qemu | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu
index ee7ebb4..8e618b5 100644
--- a/tests/qemu-iotests/common.qemu
+++ b/tests/qemu-iotests/common.qemu
@@ -153,8 +153,9 @@ function _launch_qemu()
mkfifo "${fifo_out}"
mkfifo "${fifo_in}"
- "${QEMU}" -nographic -serial none ${comm} -machine accel=qtest
"address@hidden" 2>&1 \
+ "${QEMU}" -nographic -serial none ${comm} -machine accel=qtest
"address@hidden" \
>"${fifo_out}"
\
+ 2>&1 \
<"${fifo_in}" &
QEMU_PID[${_QEMU_HANDLE}]=$!
--
1.8.3.1
- [Qemu-devel] [PATCH v3 2/9] qemu-iotests: Use qemu-io -f $IMGFMT, (continued)
- [Qemu-devel] [PATCH v3 2/9] qemu-iotests: Use qemu-io -f $IMGFMT, Kevin Wolf, 2014/11/20
- [Qemu-devel] [PATCH v3 3/9] qemu-iotests: Add qemu-io format option in Python tests, Kevin Wolf, 2014/11/20
- [Qemu-devel] [PATCH v3 4/9] qtests: Specify image format explicitly, Kevin Wolf, 2014/11/20
- [Qemu-devel] [PATCH v3 5/9] block: Factor bdrv_probe_all() out of find_image_format(), Kevin Wolf, 2014/11/20
- [Qemu-devel] [PATCH v3 6/9] block: Read only one sector for format probing, Kevin Wolf, 2014/11/20
- [Qemu-devel] [PATCH v3 7/9] raw: Prohibit dangerous writes for probed images, Kevin Wolf, 2014/11/20
- Re: [Qemu-devel] [PATCH v3 7/9] raw: Prohibit dangerous writes for probed images, Stefan Hajnoczi, 2014/11/25
- [Qemu-devel] [PATCH v3 8/9] qemu-iotests: Fix stderr handling in common.qemu,
Kevin Wolf <=
- [Qemu-devel] [PATCH v3 9/9] qemu-iotests: Test writing non-raw image headers to raw image, Kevin Wolf, 2014/11/20
- Re: [Qemu-devel] [PATCH v3 0/9] raw: Prohibit dangerous writes for probed images, Stefan Hajnoczi, 2014/11/26