Re: [PATCH] vfio/migration: Skip log_sync during migration SETUP state

2023-04-03 Thread Avihai Horon
On 04/04/2023 0:36, Alex Williamson wrote: External email: Use caution opening links or attachments On Mon, 3 Apr 2023 22:36:42 +0200 Cédric Le Goater wrote: On 4/3/23 15:00, Avihai Horon wrote: Currently, VFIO log_sync can be issued while migration is in SETUP state. However, doing this

Re: [PATCH] vfio/migration: Skip log_sync during migration SETUP state

2023-04-03 Thread Alex Williamson
On Mon, 3 Apr 2023 22:36:42 +0200 Cédric Le Goater wrote: > On 4/3/23 15:00, Avihai Horon wrote: > > Currently, VFIO log_sync can be issued while migration is in SETUP > > state. However, doing this log_sync is at best redundant and at worst > > can fail. > > > > Redundant -- all RAM is marked d

Re: [PATCH] vfio/migration: Skip log_sync during migration SETUP state

2023-04-03 Thread Cédric Le Goater
On 4/3/23 15:00, Avihai Horon wrote: Currently, VFIO log_sync can be issued while migration is in SETUP state. However, doing this log_sync is at best redundant and at worst can fail. Redundant -- all RAM is marked dirty in migration SETUP state and is transferred only after migration is set to

[PATCH] vfio/migration: Skip log_sync during migration SETUP state

2023-04-03 Thread Avihai Horon
Currently, VFIO log_sync can be issued while migration is in SETUP state. However, doing this log_sync is at best redundant and at worst can fail. Redundant -- all RAM is marked dirty in migration SETUP state and is transferred only after migration is set to ACTIVE state, so doing log_sync during