aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2021-03-26 15:55:09 +0100
committerMax Reitz <mreitz@redhat.com>2021-03-30 13:02:11 +0200
commit2ec7e8a94668efccf7f45634584cfa19a83fc553 (patch)
tree723c027ab56341f946aad104127364e257bcf86d /plugins
parent484108293d94d80acd5a2f4332eaea5e2605947a (diff)
downloadqemu-2ec7e8a94668efccf7f45634584cfa19a83fc553.zip
qemu-2ec7e8a94668efccf7f45634584cfa19a83fc553.tar.gz
qemu-2ec7e8a94668efccf7f45634584cfa19a83fc553.tar.bz2
iotests/244: Test preallocation for data-file-raw
Three test cases: (1) Adding a qcow2 (metadata) file to an existing data file, see whether we can read the existing data through the qcow2 image. (2) Append data to the data file, grow the qcow2 image accordingly, see whether we can read the new data through the qcow2 image. (3) At runtime, add a backing image to a freshly created qcow2 image with an external data file (with data-file-raw). Reading data from the qcow2 image must return the same result as reading data from the data file, so everything in the backing image must be ignored. (This did not use to be the case, because without the L2 tables preallocated, all clusters would appear as unallocated, and so the qcow2 driver would fall through to the backing file.) Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210326145509.163455-3-mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions