Re: [Qemu-devel] [PATCH] migration: cleanup check on ops in savevm.handlers iteration

2019-06-11 Thread Juan Quintela
Wei Yang wrote: > On Mon, Apr 01, 2019 at 02:14:57PM +0800, Wei Yang wrote: >>During migration, there are several places to iterate on >>savevm.handlers. And on each iteration, we need to check its ops and >>related callbacks before invoke it. >> >>Generally, ops is the first element to check, and

Re: [Qemu-devel] [PATCH] migration: cleanup check on ops in savevm.handlers iteration

2019-06-11 Thread Wei Yang
On Mon, Apr 01, 2019 at 02:14:57PM +0800, Wei Yang wrote: >During migration, there are several places to iterate on >savevm.handlers. And on each iteration, we need to check its ops and >related callbacks before invoke it. > >Generally, ops is the first element to check, and it is only necessary >t

[Qemu-devel] [PATCH] migration: cleanup check on ops in savevm.handlers iteration

2019-03-31 Thread Wei Yang
During migration, there are several places to iterate on savevm.handlers. And on each iteration, we need to check its ops and related callbacks before invoke it. Generally, ops is the first element to check, and it is only necessary to check it once. This patch clean all the related part in savev