History | View | Annotate | Download (29.4 kB)
Fix dump output in qemu-io.
The dump output was not nicely formatted for byteslarger than 0x7f, because signed values expanded tosizeof(int) bytes. So for example 0xab did not printas "ab", but as "ffffffab".
I also cleaned the function prototype, which avoids...
qemu-io: Fix spelling in help message.
excerciser -> exerciser
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-io: add aio read/write/flush commands
Add commands to exercise asynchronous reads/writes and to flush alloutstanding aio commands. Commands to exercise aio cancellations willfollow in a separate patch.
Signed-off-by: Christoph Hellwig <hch@lst.de>...
Workaround compiler warnings at -O1
Signed-off-by: Paul Brook <paul@codesourcery.com>
qemu-io: Optionally verify only part of read data
There are reasonable test cases where a read must span areas that are notuniformly filled with one pattern but contains several parts. This makes -Puseless for them currently.
Introducing additional options which determine the part of the read data that...
qemu-io: Verify read data by patterns (Kevin Wolf)
This patch adds a -P option to read and readv which allows to compare the readdata 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>...
qemu-io: Fix handling of bdrv_is_allocated() return value (Kevin Wolf)
bdrv_is_allocated() returns a boolean which indicates if the offset isallocated, not 0 on success and everything else is an error.
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
Add files not included in previous commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6995 c046a42c-6fe2-441c-8c8c-71466251a162