summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorKevin Wolf2016-05-31 16:13:07 +0200
committerKevin Wolf2016-06-16 15:19:55 +0200
commitecfe186380e6fc3a556dff05b866ca213e277fc7 (patch)
treeaf40bff28dc5d95f4a6c107fb3a59c4863b2caaa /scripts/switch-timer-api
parentqcow2: Work with bytes in qcow2_get_cluster_offset() (diff)
downloadqemu-ecfe186380e6fc3a556dff05b866ca213e277fc7.tar.gz
qemu-ecfe186380e6fc3a556dff05b866ca213e277fc7.tar.xz
qemu-ecfe186380e6fc3a556dff05b866ca213e277fc7.zip
qcow2: Implement .bdrv_co_preadv()
Reading from qcow2 images is now byte granularity. Most of the affected code in qcow2 actually gets simpler with this change. The only exception is encryption, which is fixed on 512 bytes blocks; in order to keep this working, bs->request_alignment is set for encrypted images. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions