On Mon, Oct 23, 2023 at 05:35:51PM -0300, Fabiano Rosas wrote: > From: Nikolay Borisov <nbori...@suse.com> > > Add utility methods that will be needed when implementing 'fixed-ram' > migration capability. > > qemu_file_is_seekable > qemu_put_buffer_at > qemu_get_buffer_at > qemu_set_offset > qemu_get_offset > > Signed-off-by: Nikolay Borisov <nbori...@suse.com> > Signed-off-by: Fabiano Rosas <faro...@suse.de> > --- > fixed total_transferred accounting > > restructured to use qio_channel_file_preadv instead of the _full > variant > --- > include/migration/qemu-file-types.h | 2 + > migration/qemu-file.c | 80 +++++++++++++++++++++++++++++ > migration/qemu-file.h | 4 ++ > 3 files changed, 86 insertions(+)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|