]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: Set read-zeroes on in null block driver for Valgrind
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Mon, 15 Jul 2019 16:07:59 +0000 (19:07 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Jul 2019 11:19:09 +0000 (13:19 +0200)
commita6862418fec40727b392c86dc13d9ec980efcb15
tree88d7c3a9001e0152525b2bd66e89fc083d5c00ec
parent0274f45bdef73283f2c213610f11d4e5dcba43b6
iotests: Set read-zeroes on in null block driver for Valgrind

The Valgrind tool reports about the uninitialised buffer 'buf'
instantiated on the stack of the function guess_disk_lchs().
Pass 'read-zeroes=on' to the null block driver to make it deterministic.
The output of the tests 051, 186 and 227 now includes the parameter
'read-zeroes'. So, the benchmark output files are being changed too.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/051
tests/qemu-iotests/051.pc.out
tests/qemu-iotests/093
tests/qemu-iotests/136
tests/qemu-iotests/186
tests/qemu-iotests/186.out
tests/qemu-iotests/227
tests/qemu-iotests/227.out
tests/qemu-iotests/238
tests/qemu-iotests/240