Re: [Qemu-devel] [PATCH] migration: use migration_is_active to represent active state

2019-10-01 Thread Wei Yang
On Fri, Sep 13, 2019 at 11:54:33PM +, Wei Yang wrote: >On Wed, Jul 17, 2019 at 08:53:41AM +0800, Wei Yang wrote: >>Wrap the check into a function to make it easy to read. >> > >Hi, Dave & Juan > >Do you like this one :-) ? > Sorry for ping again. >>Signed-off-by: Wei Yang >>--- >> include/mi

Re: [Qemu-devel] [PATCH] migration: use migration_is_active to represent active state

2019-09-13 Thread Wei Yang
On Wed, Jul 17, 2019 at 08:53:41AM +0800, Wei Yang wrote: >Wrap the check into a function to make it easy to read. > Hi, Dave & Juan Do you like this one :-) ? >Signed-off-by: Wei Yang >--- > include/migration/misc.h | 1 + > migration/migration.c| 12 > 2 files changed, 9 inser

[Qemu-devel] [PATCH] migration: use migration_is_active to represent active state

2019-07-16 Thread Wei Yang
Wrap the check into a function to make it easy to read. Signed-off-by: Wei Yang --- include/migration/misc.h | 1 + migration/migration.c| 12 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/include/migration/misc.h b/include/migration/misc.h index 5cdbabd094..42