diff options
author | Nikolay Borisov <nborisov@suse.com> | 2024-02-29 12:29:58 -0300 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-03-01 15:42:04 +0800 |
commit | 0478b030fa2530cbbfc4d6432e8e39a16d06865b (patch) | |
tree | 976415d0cb25f24dd9883ab36186aaa8b32c78f4 /hw/remote | |
parent | f1cfe39418a837e8dd52a7e75331f1606949deff (diff) | |
download | qemu-0478b030fa2530cbbfc4d6432e8e39a16d06865b.zip qemu-0478b030fa2530cbbfc4d6432e8e39a16d06865b.tar.gz qemu-0478b030fa2530cbbfc4d6432e8e39a16d06865b.tar.bz2 |
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 'hw/remote')
0 files changed, 0 insertions, 0 deletions