diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-05-31 16:13:07 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-06-16 15:19:55 +0200 |
commit | ecfe186380e6fc3a556dff05b866ca213e277fc7 (patch) | |
tree | af40bff28dc5d95f4a6c107fb3a59c4863b2caaa /cpus.c | |
parent | b2f65d6b02b7df0a780a974a97f26fbf0e464964 (diff) |
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 'cpus.c')
0 files changed, 0 insertions, 0 deletions