aboutsummaryrefslogtreecommitdiff
path: root/test-string-input-visitor.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-10-15 07:56:35 -0700
committerKevin Wolf <kwolf@redhat.com>2012-02-22 16:17:03 +0100
commit8268b7675c15b71023ad4ba5930c5f77d3e98271 (patch)
tree443e9ebf020b2bf802613cb59e3ff6cc6005c18b /test-string-input-visitor.c
parent89d22bc30629f6b89ed7fcbe4c7c6a6d1a9fd626 (diff)
downloadqemu-8268b7675c15b71023ad4ba5930c5f77d3e98271.zip
qemu-8268b7675c15b71023ad4ba5930c5f77d3e98271.tar.gz
qemu-8268b7675c15b71023ad4ba5930c5f77d3e98271.tar.bz2
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 <stefanha@linux.vnet.ibm.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions