summary refs log tree commit diff stats
path: root/include/migration/qemu-file-types.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2024-02-29 12:29:58 -0300
committerPeter Xu <peterx@redhat.com>2024-03-01 15:42:04 +0800
commit0478b030fa2530cbbfc4d6432e8e39a16d06865b (patch)
tree976415d0cb25f24dd9883ab36186aaa8b32c78f4 /include/migration/qemu-file-types.h
parentf1cfe39418a837e8dd52a7e75331f1606949deff (diff)
downloadfocaccia-qemu-0478b030fa2530cbbfc4d6432e8e39a16d06865b.tar.gz
focaccia-qemu-0478b030fa2530cbbfc4d6432e8e39a16d06865b.zip
io: implement io_pwritev/preadv for QIOChannelFile
The upcoming 'mapped-ram' feature will require qemu to write data to
(and restore from) specific offsets of the migration file.

Add a minimal implementation of pwritev/preadv and expose them via the
io_pwritev and io_preadv interfaces.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240229153017.2221-5-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include/migration/qemu-file-types.h')
0 files changed, 0 insertions, 0 deletions