]> git.proxmox.com Git - qemu.git/commit - qemu-io.c
qemu-io: Verify read data by patterns (Kevin Wolf)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 18 Apr 2009 15:36:23 +0000 (15:36 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 18 Apr 2009 15:36:23 +0000 (15:36 +0000)
commitc48101ae92c5ac6f2412ca345d9cc3557add8e47
tree0f36093f419d62a0681cf322ae12ec46a140d596
parent838ab728bfd269593e80ee2f8e98c8138b658e5a
qemu-io: Verify read data by patterns (Kevin Wolf)

This patch adds a -P option to read and readv which allows to compare the read
data to a given pattern. This can be used to verify data written by write -P.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7182 c046a42c-6fe2-441c-8c8c-71466251a162
qemu-io.c