> From: Qemu-devel bounces+yishaih=nvidia@nongnu.org> On Behalf Of Juan Quintela
> Sent: Monday, 3 October 2022 6:16
> To: qemu-devel@nongnu.org
> Cc: Alex Williamson ; Eric Blake
> ; Stefan Hajnoczi ; Fam
> Zheng ; qemu-s3...@nongnu.org; Cornelia Huck
> ; Thomas Huth ; Vladimir
> Sementsov-Og
> From: Qemu-devel bounces+yishaih=nvidia@nongnu.org> On Behalf Of Jason Gunthorpe
> Sent: Tuesday, 18 October 2022 15:23
> To: Joao Martins
> Cc: quint...@redhat.com; Alex Williamson ;
> Eric Blake ; Stefan Hajnoczi ;
> Fam Zheng ; qemu-s3...@nongnu.org; Cornelia Huck
> ; Thomas Huth ; Vladi
Gentle ping for review, CCing more people who may be involved.
Thanks,
Yishai
On 11/11/2021 11:50 AM, Yishai Hadas wrote:
Upon reading/writing the migration data there is no real reason to limit
the read/write system call from the file to be 8 bytes.
In addition, there is no reason to depend
do with the amount of data that can be
accessed.
Move to read/write the full region size per chunk, this reduces
dramatically the number of the systems calls that are needed and improve
performance.
Signed-off-by: Yishai Hadas
---
hw/vfio/migration.c | 36 ++--
1