qemu-iotests: Fix stderr handling in common.qemu
commitd71a8b0686b87e54587a2219ab0e502f0a889839
authorKevin Wolf <kwolf@redhat.com>
Thu, 20 Nov 2014 15:27:13 +0000 (20 16:27 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Dec 2014 09:31:13 +0000 (10 10:31 +0100)
tree9c65ab85381589be4ce3730a9990c477e260a60b
parent38f3ef574b48afc507c6f636ae4393fd36bda072
qemu-iotests: Fix stderr handling in common.qemu

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 <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1416497234-29880-9-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common.qemu