RE: [RFC 0/7] migration patches for VFIO

2022-10-20 Thread Yishai Hadas
> 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

RE: [RFC 7/7] migration: call qemu_savevm_state_pending_exact() with the guest stopped

2022-10-19 Thread Yishai Hadas
> 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

Re: [PATCH] vfio/migration: Improve to read/write full migration region per chunk

2021-11-22 Thread Yishai Hadas
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

[PATCH] vfio/migration: Improve to read/write full migration region per chunk

2021-11-11 Thread Yishai Hadas
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