Re: [Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-06-17 Thread Peter Crosthwaite
On Tue, Jun 16, 2015 at 11:42 PM, Markus Armbruster wrote: > Peter Crosthwaite writes: > >> On Tue, Jun 16, 2015 at 8:09 AM, Markus Armbruster wrote: >>> Peter Crosthwaite writes: >>> The monitor currently has one helper, mon_get_cpu() which will return an env pointer. The target spec

Re: [Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-06-16 Thread Markus Armbruster
Peter Crosthwaite writes: > On Tue, Jun 16, 2015 at 8:09 AM, Markus Armbruster wrote: >> Peter Crosthwaite writes: >> >>> The monitor currently has one helper, mon_get_cpu() which will return >>> an env pointer. The target specific users of this API want an env, but >>> all the target agnostic

Re: [Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-06-16 Thread Peter Crosthwaite
On Tue, Jun 16, 2015 at 8:09 AM, Markus Armbruster wrote: > Peter Crosthwaite writes: > >> The monitor currently has one helper, mon_get_cpu() which will return >> an env pointer. The target specific users of this API want an env, but >> all the target agnostic users really just want the cpu poin

Re: [Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-06-16 Thread Markus Armbruster
Peter Crosthwaite writes: > The monitor currently has one helper, mon_get_cpu() which will return > an env pointer. The target specific users of this API want an env, but > all the target agnostic users really just want the cpu pointer. These > users then need to use the target-specifically defin

Re: [Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-06-12 Thread Markus Armbruster
Peter Crosthwaite writes: > The monitor currently has one helper, mon_get_cpu() which will return > an env pointer. The target specific users of this API want an env, but > all the target agnostic users really just want the cpu pointer. These > users then need to use the target-specifically defin

Re: [Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-06-12 Thread Markus Armbruster
Markus Armbruster writes: > Peter Crosthwaite writes: > >> The monitor currently has one helper, mon_get_cpu() which will return >> an env pointer. The target specific users of this API want an env, but >> all the target agnostic users really just want the cpu pointer. These >> users then need t

[Qemu-devel] [PATCH v2 1/2] monitor: Split mon_get_cpu fn to remove ENV_GET_CPU

2015-05-24 Thread Peter Crosthwaite
The monitor currently has one helper, mon_get_cpu() which will return an env pointer. The target specific users of this API want an env, but all the target agnostic users really just want the cpu pointer. These users then need to use the target-specifically defined ENV_GET_CPU to navigate back up t