[PATCH v2 0/4] Migration: Make misc.h helpers available for whole VM lifecycle

2024-10-23 Thread Peter Xu
This is a follow up of below patch from Avihai as a replacement: https://lore.kernel.org/qemu-devel/20241020130108.27148-3-avih...@nvidia.com/ This is v2 of the series, and it became a more generic rework on how we do migration object refcounts, so I skipped a changelog because most of this is ne

Re: [PATCH v2 0/4] Migration: Make misc.h helpers available for whole VM lifecycle

2024-10-23 Thread Peter Xu
On Wed, Oct 23, 2024 at 06:03:36PM -0300, Fabiano Rosas wrote: > Right, but consider that it's easy enough for someone to look for a > global object to write in the code, find the wrong one and just use > it. It would then be up to reviewers to catch the mistake. > > Look at this: > > bool migr

Re: [PATCH v2 0/4] Migration: Make misc.h helpers available for whole VM lifecycle

2024-10-23 Thread Fabiano Rosas
Peter Xu writes: > This is a follow up of below patch from Avihai as a replacement: > > https://lore.kernel.org/qemu-devel/20241020130108.27148-3-avih...@nvidia.com/ > > This is v2 of the series, and it became a more generic rework on how we do > migration object refcounts, so I skipped a changel

Re: [PATCH v2 0/4] Migration: Make misc.h helpers available for whole VM lifecycle

2024-10-23 Thread Fabiano Rosas
Peter Xu writes: > On Wed, Oct 23, 2024 at 04:32:01PM -0300, Fabiano Rosas wrote: >> Peter Xu writes: >> >> > This is a follow up of below patch from Avihai as a replacement: >> > >> > https://lore.kernel.org/qemu-devel/20241020130108.27148-3-avih...@nvidia.com/ >> > >> > This is v2 of the seri

Re: [PATCH v2 0/4] Migration: Make misc.h helpers available for whole VM lifecycle

2024-10-23 Thread Peter Xu
On Wed, Oct 23, 2024 at 04:32:01PM -0300, Fabiano Rosas wrote: > Peter Xu writes: > > > This is a follow up of below patch from Avihai as a replacement: > > > > https://lore.kernel.org/qemu-devel/20241020130108.27148-3-avih...@nvidia.com/ > > > > This is v2 of the series, and it became a more gen

Re: [PATCH v2 0/4] Migration: Make misc.h helpers available for whole VM lifecycle

2024-10-23 Thread Peter Xu
On Wed, Oct 23, 2024 at 02:02:12PM -0400, Peter Xu wrote: > This is a follow up of below patch from Avihai as a replacement: > > https://lore.kernel.org/qemu-devel/20241020130108.27148-3-avih...@nvidia.com/ > > This is v2 of the series, and it became a more generic rework on how we do > migration