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
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
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
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
> -
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);
>
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
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