Re: [Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-09-13 Thread Juan Quintela
Peter Xu wrote: > On Tue, Aug 08, 2017 at 06:26:11PM +0200, Juan Quintela wrote: > > [...] > >> void migration_fd_process_incoming(QEMUFile *f) >> { >> -Coroutine *co = qemu_coroutine_create(process_incoming_migration_co, f); >> - >> +Coroutine *co = qemu_coroutine_create(process_incomin

Re: [Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-09-07 Thread Peter Xu
On Wed, Sep 06, 2017 at 01:07:47PM +0200, Juan Quintela wrote: > Peter Xu wrote: > > On Tue, Aug 08, 2017 at 06:26:11PM +0200, Juan Quintela wrote: > > > > [...] > > > >> void migration_fd_process_incoming(QEMUFile *f) > >> { > >> -Coroutine *co = qemu_coroutine_create(process_incoming_migra

Re: [Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-09-06 Thread Juan Quintela
Peter Xu wrote: > On Tue, Aug 08, 2017 at 06:26:11PM +0200, Juan Quintela wrote: > > [...] > >> void migration_fd_process_incoming(QEMUFile *f) >> { >> -Coroutine *co = qemu_coroutine_create(process_incoming_migration_co, f); >> - >> +Coroutine *co = qemu_coroutine_create(process_incomin

Re: [Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-08-11 Thread Daniel P. Berrange
On Tue, Aug 08, 2017 at 06:26:11PM +0200, Juan Quintela wrote: > We pass the ioc instead of the fd. This will allow us to have more > than one channel open. We also make sure that we set the > from_src_file sooner, so we don't need to pass it as a parameter. > > Signed-off-by: Juan Quintela > -

Re: [Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-08-10 Thread Peter Xu
On Tue, Aug 08, 2017 at 06:26:11PM +0200, Juan Quintela wrote: [...] > void migration_fd_process_incoming(QEMUFile *f) > { > -Coroutine *co = qemu_coroutine_create(process_incoming_migration_co, f); > - > +Coroutine *co = qemu_coroutine_create(process_incoming_migration_co, > NULL); >

[Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-08-08 Thread Juan Quintela
We pass the ioc instead of the fd. This will allow us to have more than one channel open. We also make sure that we set the from_src_file sooner, so we don't need to pass it as a parameter. Signed-off-by: Juan Quintela --- migration/channel.c | 3 +-- migration/migration.c | 25

[Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-08-08 Thread Juan Quintela
We pass the ioc instead of the fd. This will allow us to have more than one channel open. We also make sure that we set the from_src_file sooner, so we don't need to pass it as a parameter. Signed-off-by: Juan Quintela --- migration/channel.c | 3 +-- migration/migration.c | 25