diff options
author | Alberto Garcia <berto@igalia.com> | 2017-06-19 16:40:07 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-06-26 14:51:13 +0200 |
commit | 86b862c431ae5effa80a095c9c989a5a9976ead1 (patch) | |
tree | b85e4bc8250da1fac937c5dc63cf8f4d9a37435e /bootdevice.c | |
parent | b3cf1c7cf8714af96def49668a267fa4075242ca (diff) |
qcow2: Pass a QEMUIOVector to do_perform_cow_{read,write}()
Instead of passing a single buffer pointer to do_perform_cow_write(),
pass a QEMUIOVector. This will allow us to merge the write requests
for the COW regions and the actual data into a single one.
Although do_perform_cow_read() does not strictly need to change its
API, we're doing it here as well for consistency.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'bootdevice.c')
0 files changed, 0 insertions, 0 deletions