Re: [PATCH 2/3] vfio/migration: Refactor vfio_vmstate_change/_prepare() error reporting

2024-10-22 Thread Avihai Horon via
On 21/10/2024 19:54, Peter Xu wrote: External email: Use caution opening links or attachments On Mon, Oct 21, 2024 at 06:43:13PM +0200, Cédric Le Goater wrote: Hello, IIUC the migration thread should always see valid migration object, as it takes one refcount at the entrance of migration_t

[PATCH v2 01/20] migration: Pass threshold_size to .state_pending_{estimate, exact}()

2023-02-22 Thread Avihai Horon via
Pass threshold_size to .state_pending_{estimate,exact}(). This parameter will be used in the following patch by VFIO migration to force the complete transmission of all VFIO pre-copy initial bytes prior moving to stop-copy phase, which can reduce migration downtime. Signed-off-by: Avihai Horon -