Re: [Qemu-devel] [PATCH] migration: finalize current_migration object

2017-12-28 Thread Juan Quintela
Vladimir Sementsov-Ogievskiy wrote: > current_migration has .instance_finalize callback, but it is not > called, because nobody unrefs current_migration. Fix that. > > Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Juan Quintela

Re: [Qemu-devel] [PATCH] migration: finalize current_migration object

2017-12-28 Thread Peter Xu
On Thu, Dec 28, 2017 at 12:16:16PM +0300, Vladimir Sementsov-Ogievskiy wrote: > current_migration has .instance_finalize callback, but it is not > called, because nobody unrefs current_migration. Fix that. > > Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Peter Xu -- Peter Xu

[Qemu-devel] [PATCH] migration: finalize current_migration object

2017-12-28 Thread Vladimir Sementsov-Ogievskiy
current_migration has .instance_finalize callback, but it is not called, because nobody unrefs current_migration. Fix that. Signed-off-by: Vladimir Sementsov-Ogievskiy --- Note: migration_object_init() is called from main() too. _finalize looks a bit weird after all _cleanp's, but it