Statistics
| Branch: | Revision:

root / qemu-io.c @ 1ad2134f

History | View | Annotate | Download (22.3 kB)

# Date Author Comment
d4ec5228 05/10/2009 01:22 am Paul Brook

Workaround compiler warnings at -O1

Signed-off-by: Paul Brook <>

d9654a58 05/01/2009 05:44 pm Kevin Wolf

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...

c48101ae 04/18/2009 06:36 pm aliguori

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 <>
Signed-off-by: Anthony Liguori <>...

838ab728 04/18/2009 06:36 pm aliguori

qemu-io: Fix handling of bdrv_is_allocated() return value (Kevin Wolf)

bdrv_is_allocated() returns a boolean which indicates if the offset is
allocated, not 0 on success and everything else is an error.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>...

7e9bbc9f 04/18/2009 06:36 pm aliguori

a couple of qemu-io fixes (Christoph Hellwig)

Fix two stupid bugs that I forgot to push out:

- qiov->size already is in bytes, no need to shift it
- actually use the supplied patter in the writev command

Signed-off-by: Christoph Hellwig <>...

e3aff4f6 04/05/2009 10:14 pm aliguori

Add files not included in previous commit.

Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6995 c046a42c-6fe2-441c-8c8c-71466251a162