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

2011-07-26 Thread Paolo Bonzini
On 07/22/2011 09:58 PM, Umesh Deshapnde wrote: -qemu_mod_timer(s-timer, qemu_get_clock_ms(rt_clock) + 100); +qemu_mod_timer(s-timer, qemu_get_clock_ms(migration_clock) + 100); if (s-freeze_output) return; @@ -246,8 +246,10 @@ static void buffered_rate_tick(void *opaque)

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

2011-07-22 Thread Umesh Deshapnde
From: Umesh Deshpande udesh...@redhat.com 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 udesh...@redhat.com --- arch_init.c | 14 ++-- buffered_file.c |