]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: Make redirecting qemu's stderr optional
authorMax Reitz <mreitz@redhat.com>
Mon, 25 Jan 2016 18:41:14 +0000 (19:41 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:49:43 +0000 (17:49 +0100)
commit15cfba693b8a828315618b8df41acfb79017acf3
tree61a37b61068177e9af70fc420322add870f059dd
parent4a940d14b3000bee4826f6938e6e0dd67393cf35
iotests: Make redirecting qemu's stderr optional

Redirecting qemu's stderr to stdout makes working with the stderr output
difficult due to the other file descriptor magic performed in
_launch_qemu ("ambiguous redirect").

Add an option which specifies whether stderr should be redirected to
stdout or not (allowing for other modes to be added in the future).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common.qemu