Re: [Qemu-devel] [RFC PATCH v4 4/5] separate thread for VM migration

2011-08-17 Thread Paolo Bonzini
On 08/16/2011 08:56 PM, Umesh Deshpande wrote: +qemu_mutex_lock_ramlist(); Taken locks: iothread, ramlist +qemu_mutex_unlock_iothread(); Taken locks: ramlist +s-wait_for_unfreeze(s); +qemu_mutex_lock_iothread(); Taken locks: ramlist,

[Qemu-devel] [RFC PATCH v4 4/5] separate thread for VM migration

2011-08-16 Thread Umesh Deshpande
This patch creates a separate thread for the guest migration on the source side. migrate_cancel request from the iothread is handled asynchronously. That is, iothread submits migrate_cancel to the migration thread and returns, while the migration thread attends this request at the next iteration