Re: [Qemu-devel] [RFC v3 14/19] tcg: remove global exit_request

2016-08-03 Thread Alex Bennée
Sergey Fedorov writes: > On 03/06/16 23:40, Alex Bennée wrote: >> The only remaining use of the global exit_request flag is now to ensure >> we exit the run_loop when we first start to process pending work. This >> is just as easily done by setting the first_cpu->exit_request flag. >> >> We ligh

Re: [Qemu-devel] [RFC v3 14/19] tcg: remove global exit_request

2016-06-28 Thread Sergey Fedorov
On 03/06/16 23:40, Alex Bennée wrote: > The only remaining use of the global exit_request flag is now to ensure > we exit the run_loop when we first start to process pending work. This > is just as easily done by setting the first_cpu->exit_request flag. > > We lightly re-factor the main vCPU threa

[Qemu-devel] [RFC v3 14/19] tcg: remove global exit_request

2016-06-03 Thread Alex Bennée
The only remaining use of the global exit_request flag is now to ensure we exit the run_loop when we first start to process pending work. This is just as easily done by setting the first_cpu->exit_request flag. We lightly re-factor the main vCPU thread to ensure cpu->exit_requests cause us to exit