Re: [Qemu-devel] [PATCH 02/10] cpus: remove tcg_halt_cond global variable.

2015-08-28 Thread Paolo Bonzini
On 28/08/2015 16:36, Peter Maydell wrote: > With this patch, code-wise tcg_halt_cond and tcg_cpu_thread > are used in pretty much parallel ways (first call into > qemu_tcg_init_vcpu() sets them up, all the rest just copy > them into the CPU struct). The only difference is that one > of them a sta

Re: [Qemu-devel] [PATCH 02/10] cpus: remove tcg_halt_cond global variable.

2015-08-28 Thread Peter Maydell
On 12 August 2015 at 17:40, Paolo Bonzini wrote: > From: KONRAD Frederic > > This removes tcg_halt_cond global variable. > We need one QemuCond per virtual cpu for multithread TCG. > > Signed-off-by: KONRAD Frederic > Message-Id: <1439220437-23957-9-git-send-email-fred.kon...@greensocs.com> > [K

Re: [Qemu-devel] [PATCH 02/10] cpus: remove tcg_halt_cond global variable.

2015-08-13 Thread Frederic Konrad
On 13/08/2015 15:08, Paolo Bonzini wrote: On 13/08/2015 15:05, Frederic Konrad wrote: This removes tcg_halt_cond global variable. We need one QemuCond per virtual cpu for multithread TCG. Signed-off-by: KONRAD Frederic Message-Id: <1439220437-23957-9-git-send-email-fred.kon...@greensocs.com>

Re: [Qemu-devel] [PATCH 02/10] cpus: remove tcg_halt_cond global variable.

2015-08-13 Thread Paolo Bonzini
On 13/08/2015 15:05, Frederic Konrad wrote: >> >> >> This removes tcg_halt_cond global variable. >> We need one QemuCond per virtual cpu for multithread TCG. >> >> Signed-off-by: KONRAD Frederic >> Message-Id: <1439220437-23957-9-git-send-email-fred.kon...@greensocs.com> >> [Keep tcg_halt_cond f

Re: [Qemu-devel] [PATCH 02/10] cpus: remove tcg_halt_cond global variable.

2015-08-13 Thread Frederic Konrad
On 12/08/2015 18:40, Paolo Bonzini wrote: From: KONRAD Frederic This removes tcg_halt_cond global variable. We need one QemuCond per virtual cpu for multithread TCG. Signed-off-by: KONRAD Frederic Message-Id: <1439220437-23957-9-git-send-email-fred.kon...@greensocs.com> [Keep tcg_halt_cond fo

[Qemu-devel] [PATCH 02/10] cpus: remove tcg_halt_cond global variable.

2015-08-12 Thread Paolo Bonzini
From: KONRAD Frederic This removes tcg_halt_cond global variable. We need one QemuCond per virtual cpu for multithread TCG. Signed-off-by: KONRAD Frederic Message-Id: <1439220437-23957-9-git-send-email-fred.kon...@greensocs.com> [Keep tcg_halt_cond for bisectability, while making it static. - P