Re: [PATCH 1/5] Support for vm_stop from the migration thread

2011-08-30 Thread Paolo Bonzini
On 08/29/2011 06:56 PM, Marcelo Tosatti wrote: > diff --git a/cpus.c b/cpus.c > index de70e02..f35f683 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -122,8 +122,8 @@ static void do_vm_stop(int reason) >{ >if (vm_running) { >cpu_disable_ticks(); > -vm_running = 0;

Re: [PATCH 1/5] Support for vm_stop from the migration thread

2011-08-29 Thread Marcelo Tosatti
On Sat, Aug 27, 2011 at 02:09:44PM -0400, Umesh Deshpande wrote: > Currently, when any thread other than iothread calls vm_stop, it is scheduled > to > be executed later by the iothread. This patch allows the execution of vm_stop > from threads other than iothread. This is especially helpful when

[PATCH 1/5] Support for vm_stop from the migration thread

2011-08-27 Thread Umesh Deshpande
Currently, when any thread other than iothread calls vm_stop, it is scheduled to be executed later by the iothread. This patch allows the execution of vm_stop from threads other than iothread. This is especially helpful when the migration is moved into a separate thread. Signed-off-by: Umesh Desh