Re: [PATCH RFC 06/11] migration/block: Extend the migration_block_* API to dest side

2024-12-04 Thread Peter Xu
On Tue, Dec 03, 2024 at 07:51:33PM -0500, Peter Xu wrote: > diff --git a/migration/migration.c b/migration/migration.c > index 8f7d09ca84..e01264168f 100644 > --- a/migration/migration.c > +++ b/migration/migration.c > @@ -701,6 +701,12 @@ migration_incoming_state_setup(MigrationIncomingState > *m

[PATCH RFC 06/11] migration/block: Extend the migration_block_* API to dest side

2024-12-03 Thread Peter Xu
Extend the usage of such API to the receiver side, because such status maintenance is also necessary there. It's needed to avoid bdrv_inactivate_all() not being invoked when the drives are already inactive. When invoked, it can crash QEMU. See the issue link for more information. So it means we