Re: [PATCH 5/5] Separate migration thread

Umesh Deshpande
2011-08-29T13:49:56Z

On 08/29/2011 05:09 AM, Stefan Hajnoczi wrote:
> On Sat, Aug 27, 2011 at 7:09 PM, Umesh Deshpande<udeshpan@redhat.com> wrote:
>> This patch creates a separate thread for the guest migration on the source side.
>> All exits (on completion/error) from the migration thread are handled by a
>> bottom handler, which is called from the iothread.
>>
>> Signed-off-by: Umesh Deshpande<udeshpan@redhat.com>
>> ---
>> buffered_file.c | 76 ++++++++++++++++++++----------------
>> migration.c | 105 ++++++++++++++++++++++++++++++--------------------
>> migration.h | 8 ++++
>> qemu-thread-posix.c | 10 +++++
>> qemu-thread.h | 1 +
> Will this patch break Windows builds by adding a function to
> qemu-thread-posix.c which is not implemented in qemu-thread-win32.c?
Yes, equivalent function needs to be added in qemu-thread.win32.c