Re: [Qemu-devel] [PATCH 01/11] migration: Remove MigrationState from migration_channel_incomming()

2017-06-12 Thread Laurent Vivier
On 01/06/2017 23:29, Juan Quintela wrote: > All callers were calling migrate_get_current(), so do it inside the function. > > Signed-off-by: Juan Quintela Reviewed-by: Laurent Vivier > --- > migration/channel.c | 5 +++-- > migration/channel.h | 3 +--

Re: [Qemu-devel] [PATCH 01/11] migration: Remove MigrationState from migration_channel_incomming()

2017-06-12 Thread Peter Xu
On Thu, Jun 01, 2017 at 11:29:11PM +0200, Juan Quintela wrote: > All callers were calling migrate_get_current(), so do it inside the function. > > Signed-off-by: Juan Quintela Reviewed-by: Peter Xu -- Peter Xu

[Qemu-devel] [PATCH 01/11] migration: Remove MigrationState from migration_channel_incomming()

2017-06-01 Thread Juan Quintela
All callers were calling migrate_get_current(), so do it inside the function. Signed-off-by: Juan Quintela --- migration/channel.c | 5 +++-- migration/channel.h | 3 +-- migration/exec.c| 2 +- migration/fd.c | 2 +- migration/socket.c | 3 +-- migration/tls.c