Re: [Qemu-devel] [RFC PATCH v3 5/5] Making iothread block for migrate_cancel

2011-08-17 Thread Paolo Bonzini
On 08/16/2011 08:56 PM, Umesh Deshpande wrote: diff --git a/qemu-thread-posix.c b/qemu-thread-posix.c index 2bd02ef..0d18b35 100644 --- a/qemu-thread-posix.c +++ b/qemu-thread-posix.c @@ -115,6 +115,16 @@ void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex) error_exit(err, __func__);

[Qemu-devel] [RFC PATCH v3 5/5] Making iothread block for migrate_cancel

2011-08-16 Thread Umesh Deshpande
Following patch makes iothread wait until the migration thread responds to the migrate_cancel request and terminates its execution. Signed-off-by: Umesh Deshpande udesh...@redhat.com --- buffered_file.c | 13 - buffered_file.h |3 +++ hw/hw.h |5 -