Re: [PATCH V3] migration: simplify notifiers

2023-10-18 Thread Juan Quintela
Steve Sistare wrote: > Pass the callback function to add_migration_state_change_notifier so > that migration can initialize the notifier on add and clear it on > delete, which simplifies the call sites. Shorten the function names > so the extra arg can be added more legibly. Hide the global noti

Re: [PATCH V3] migration: simplify notifiers

2023-07-13 Thread Michael Galaxy
On 6/7/23 09:42, Steve Sistare wrote: Pass the callback function to add_migration_state_change_notifier so that migration can initialize the notifier on add and clear it on delete, which simplifies the call sites. Shorten the function names so the extra arg can be added more legibly. Hide the

Re: [PATCH V3] migration: simplify notifiers

2023-06-07 Thread Peter Xu
On Wed, Jun 07, 2023 at 07:42:34AM -0700, Steve Sistare wrote: > Pass the callback function to add_migration_state_change_notifier so > that migration can initialize the notifier on add and clear it on > delete, which simplifies the call sites. Shorten the function names > so the extra arg can be

[PATCH V3] migration: simplify notifiers

2023-06-07 Thread Steve Sistare
Pass the callback function to add_migration_state_change_notifier so that migration can initialize the notifier on add and clear it on delete, which simplifies the call sites. Shorten the function names so the extra arg can be added more legibly. Hide the global notifier list in a new function mi