Re: [Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
2010/6/2 Anthony Liguori : > On 06/01/2010 11:23 AM, Yoshiaki Tamura wrote: >> >> 2010/6/2 Anthony Liguori: >> >>> >>> On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: >>> Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled.  Spawned thread writes it's retu

Re: [Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
2010/6/2 Anthony Liguori : > On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: >> >> Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD >> is enabled.  Spawned thread writes it's return status to th_fds[1] >> before exit, and main thread joins and reads it.  In >> tcp_start_incoming

Re: [Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Anthony Liguori
On 06/01/2010 11:23 AM, Yoshiaki Tamura wrote: 2010/6/2 Anthony Liguori: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled. Spawned thread writes it's return status to th_fds[1] before exit, and main thread

[Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Anthony Liguori
On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled. Spawned thread writes it's return status to th_fds[1] before exit, and main thread joins and reads it. In tcp_start_incoming_migration(), allocate FdMigrationState an