qemu-io: Optionally verify only part of read data
commitd9654a58576dae982458bdb1eb565c9876c24c22
authorKevin Wolf <kwolf@redhat.com>
Thu, 23 Apr 2009 13:11:13 +0000 (23 15:11 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 May 2009 14:44:11 +0000 (1 09:44 -0500)
tree06315b8be1076796ccb174e9d06e84bcd588e2a4
parent9dd986ccf68f142aaafe543d80cf877716d91d4e
qemu-io: Optionally verify only part of read data

There are reasonable test cases where a read must span areas that are not
uniformly filled with one pattern but contains several parts. This makes -P
useless for them currently.

Introducing additional options which determine the part of the read data that
should be verified with the given pattern allows to check such reads.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-io.c