« Previous | Next » 

Revision 8268b767

ID8268b7675c15b71023ad4ba5930c5f77d3e98271

Added by Stefan Hajnoczi about 12 years ago

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

Writes beyond the end of the backing file should copy-on-write using
zeroes.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Christoph Hellwig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences