Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 028.out @ 08e4ed6c

History | View | Annotate | Download (24.3 kB)

# Date Author Comment
8655d2de 05/10/2012 11:32 am Paolo Bonzini

qemu-io: correctly print non-integer values as decimals

qemu-io's cvtstr function sometimes will incorrectly omit the
decimal part of the number, and sometimes will incorrectly include
it. This patch fixes both. The former is more serious, and can
be seen in the patches to 027.out and 033.out....

6ce2d77a 02/29/2012 04:48 pm Kevin Wolf

qemu-iotests: Test rebase with short backing file

This tests that qemu-img rebase doesn't assume that the backing file has
the same size as the image, but considers that it can be smaller.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

dd0c35d6 02/23/2012 11:29 am Stefan Hajnoczi

qemu-iotests: Use zero-based offsets for IO patterns

The io_pattern style functions have the following loop:

for i in `seq 1 $count`; do
echo ... $(( start + i * step )) ...
done

Offsets are 1-based so start=1024, step=512, count=4 yields:
1536, 2048, 2560, 3072...

8268b767 02/22/2012 05:17 pm Stefan Hajnoczi

qemu-iotests: add read/write from smaller backing image test

Some image formats support backing images that are smaller than the
image file. This patch adds a test that verifies that reads and writes
beyond the end of backing image work.

Unallocated reads beyond the end of the backing file should produce...