Re: [PATCH v3 09/14] migration: add qemu_get_buffer_at

2023-02-10 Thread Daniel P . Berrangé
On Fri, Oct 28, 2022 at 01:39:09PM +0300, Nikolay Borisov wrote: > Restoring a 'fixed-ram' enabled migration stream would require reading > from specific offsets in the file so add a helper to QEMUFile that uses > the newly introduced qio_channel_file_preadv. > > Signed-off-by: Nikolay Borisov >

[PATCH v3 09/14] migration: add qemu_get_buffer_at

2022-10-28 Thread Nikolay Borisov
Restoring a 'fixed-ram' enabled migration stream would require reading from specific offsets in the file so add a helper to QEMUFile that uses the newly introduced qio_channel_file_preadv. Signed-off-by: Nikolay Borisov --- migration/qemu-file.c | 23 +++