[Qemu-devel] [RFC PATCH 2/2] separate thread for VM migration

2011-07-22 Thread Umesh Deshapnde
From: Umesh Deshpande This patch creates a separate thread for the guest migration on the source side. The migration routine is called from the migration clock. Signed-off-by: Umesh Deshpande --- arch_init.c | 14 ++-- buffered_file.c | 12 ++ exec.c |4

[Qemu-devel] [RFC PATCH 1/2] new clock for migration routine

2011-07-22 Thread Umesh Deshapnde
From: Umesh Deshpande This patch implements a migration clock, whose implementation is similar to the existing rt_clock. This allows the migration timer to run in parallel to other timers in the rt_clock. In the next patch, this clock is used to create a new timer from the migration thread that c

[Qemu-devel] [RFC PATCH 0/2] A separate thread for VM migration

2011-07-22 Thread Umesh Deshapnde
From: Umesh Deshpande Following patch deals with VCPU and iothread starvation during the migration of a guest. Currently the iothread is responsible for performing the guest migration. It holds qemu_mutex during the migration and doesn't allow VCPU to enter the qemu mode and delays its return to