qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v2] migration: refactor migration_completion


From: Wang, Wei W
Subject: RE: [PATCH v2] migration: refactor migration_completion
Date: Wed, 11 Oct 2023 09:03:08 +0000

On Friday, August 4, 2023 9:37 PM, Peter Xu wrote:
Fri, Aug 04, 2023 at 05:30:53PM +0800, Wei Wang wrote:
> > Current migration_completion function is a bit long. Refactor the long
> > implementation into different subfunctions:
> > - migration_completion_precopy: completion code related to precopy
> > - migration_completion_postcopy: completion code related to postcopy
> > - close_return_path_on_source: rp thread related cleanup on migration
> > completion. It is named to match with open_return_path_on_source.
> >
> > This improves readability and is easier for future updates (e.g. add
> > new subfunctions when completion code related to new features are
> > needed). No functional changes intended.
> >
> > Signed-off-by: Wei Wang <wei.w.wang@intel.com>
> 
> Reviewed-by: Peter Xu <peterx@redhat.com>
> 

Hi Juan,
Do you think this refactoring would be good to merge or have any more comments?

Thanks,
Wei

reply via email to

[Prev in Thread] Current Thread [Next in Thread]