Re: [Qemu-devel] [PATCH 01/16] cpus: pass CPUState to run_on_cpu helpers

2016-09-23 Thread Richard Henderson
On 09/23/2016 12:31 AM, Paolo Bonzini wrote: From: Alex Bennée CPUState is a fairly common pointer to pass to these helpers. This means if you need other arguments for the async_run_on_cpu case you end up having to do a g_malloc to stuff additional data into the routine. For the current users t

[Qemu-devel] [PATCH 01/16] cpus: pass CPUState to run_on_cpu helpers

2016-09-23 Thread Paolo Bonzini
From: Alex Bennée CPUState is a fairly common pointer to pass to these helpers. This means if you need other arguments for the async_run_on_cpu case you end up having to do a g_malloc to stuff additional data into the routine. For the current users this isn't a massive deal but for MTTCG this get

[Qemu-devel] [PATCH 01/16] cpus: pass CPUState to run_on_cpu helpers

2016-09-19 Thread Paolo Bonzini
From: Alex Bennée CPUState is a fairly common pointer to pass to these helpers. This means if you need other arguments for the async_run_on_cpu case you end up having to do a g_malloc to stuff additional data into the routine. For the current users this isn't a massive deal but for MTTCG this get

Re: [Qemu-devel] [PATCH 01/16] cpus: pass CPUState to run_on_cpu helpers

2016-09-15 Thread Alex Bennée
Paolo Bonzini writes: > From: Alex Bennée > > CPUState is a fairly common pointer to pass to these helpers. This means > if you need other arguments for the async_run_on_cpu case you end up > having to do a g_malloc to stuff additional data into the routine. For > the current users this isn't a

[Qemu-devel] [PATCH 01/16] cpus: pass CPUState to run_on_cpu helpers

2016-09-12 Thread Paolo Bonzini
From: Alex Bennée CPUState is a fairly common pointer to pass to these helpers. This means if you need other arguments for the async_run_on_cpu case you end up having to do a g_malloc to stuff additional data into the routine. For the current users this isn't a massive deal but for MTTCG this get