Re: [Qemu-devel] [PATCH v3 2/2] qemu-iotests: fix -valgrind option for check

2015-10-30 Thread Max Reitz
On 30.10.2015 20:25, Jeff Cody wrote: > Commit 934659c switched the iotests to run qemu-io from a bash subshell, > in order to catch segfaults. This method is incompatible with the > current valgrind_qemu_io() bash function. > > Move the valgrind usage into the exec subshell in _qemu_io_wrapper()

[Qemu-devel] [PATCH v3 2/2] qemu-iotests: fix -valgrind option for check

2015-10-30 Thread Jeff Cody
Commit 934659c switched the iotests to run qemu-io from a bash subshell, in order to catch segfaults. This method is incompatible with the current valgrind_qemu_io() bash function. Move the valgrind usage into the exec subshell in _qemu_io_wrapper(), while making sure the original return value is