Re: [Qemu-devel] [RFC PATCH V7 10/19] cpu: remove exit_request global.

2015-08-10 Thread Paolo Bonzini
On 10/08/2015 17:27, fred.kon...@greensocs.com wrote: > { > if (current_cpu) { > cpu_exit(current_cpu); > } > -exit_request = 1; > + > +/* FIXME: We might want to check if the cpu is running? */ > +tcg_thread_cpu->exit_request = true; > } > > #ifdef CONFIG_LINU

[Qemu-devel] [RFC PATCH V7 10/19] cpu: remove exit_request global.

2015-08-10 Thread fred . konrad
From: KONRAD Frederic This removes exit_request global and adds a variable in CPUState for this. Only the flag for the first cpu is used for the moment as we are still with one TCG thread. Signed-off-by: KONRAD Frederic --- cpu-exec.c | 15 --- cpus.c | 17 ++--- 2