Re: [Qemu-devel] [PATCH 4/4] cpus: Change exec_init arg to cpu, not env

2015-06-24 Thread Paolo Bonzini
On 24/06/2015 14:48, Andreas Färber wrote: > I was expecting you to handle cpu_exec_init() through your x86 tree, but > seems that didn't happen. I am going through CPU patches today, so could > take open series but then would need to pick up the ENV_* stuff too, > which I thought would go throug

Re: [Qemu-devel] [PATCH 4/4] cpus: Change exec_init arg to cpu, not env

2015-06-24 Thread Andreas Färber
Am 05.06.2015 um 17:05 schrieb Eduardo Habkost: > On Fri, Jun 05, 2015 at 11:51:41PM +0900, Andreas Färber wrote: >> Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite: >>> The callers (most of them in target-foo/cpu.c) to this function all >>> have the cpu pointer handy. Just pass it to avoid an ENV

Re: [Qemu-devel] [PATCH 4/4] cpus: Change exec_init arg to cpu, not env

2015-06-05 Thread Eduardo Habkost
On Fri, Jun 05, 2015 at 11:51:41PM +0900, Andreas Färber wrote: > Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite: > > The callers (most of them in target-foo/cpu.c) to this function all > > have the cpu pointer handy. Just pass it to avoid an ENV_GET_CPU from > > core code (in exec.c). [...] > Re

Re: [Qemu-devel] [PATCH 4/4] cpus: Change exec_init arg to cpu, not env

2015-06-05 Thread Andreas Färber
Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite: > The callers (most of them in target-foo/cpu.c) to this function all > have the cpu pointer handy. Just pass it to avoid an ENV_GET_CPU from > core code (in exec.c). > > Cc: Paolo Bonzini > Cc: Richard Henderson > Cc: Peter Maydell > Cc: "Edgar

Re: [Qemu-devel] [PATCH 4/4] cpus: Change exec_init arg to cpu, not env

2015-05-25 Thread Eduardo Habkost
On Sun, May 24, 2015 at 11:22:25PM -0700, Peter Crosthwaite wrote: > The callers (most of them in target-foo/cpu.c) to this function all > have the cpu pointer handy. Just pass it to avoid an ENV_GET_CPU from > core code (in exec.c). > > Cc: Paolo Bonzini > Cc: Richard Henderson > Cc: Peter Mayd

[Qemu-devel] [PATCH 4/4] cpus: Change exec_init arg to cpu, not env

2015-05-24 Thread Peter Crosthwaite
The callers (most of them in target-foo/cpu.c) to this function all have the cpu pointer handy. Just pass it to avoid an ENV_GET_CPU from core code (in exec.c). Cc: Paolo Bonzini Cc: Richard Henderson Cc: Peter Maydell Cc: "Edgar E. Iglesias" Cc: "Andreas Färber" Cc: Eduardo Habkost Cc: Mich