Re: [Qemu-devel] [PATCH qemu v4] monitor/target-ppc: Define target_get_monitor_def

2015-11-11 Thread Paolo Bonzini
On 11/11/2015 03:27, David Gibson wrote: > Meaning one which adds the hook to the monitor, and another which > implements it for ppc? Maybe. > > I'd like to take this, but I'm not sure whether it's reasonable for > the small generic monitor change to go through the ppc tree. Peter, > Paolo, op

Re: [Qemu-devel] [PATCH qemu v4] monitor/target-ppc: Define target_get_monitor_def

2015-11-10 Thread David Gibson
On Fri, Oct 02, 2015 at 04:16:13PM +1000, Alexey Kardashevskiy wrote: > At the moment get_monitor_def() returns only registers from statically > defined monitor_defs array. However there is a lot of BOOK3S SPRs > which are not in the list and cannot be printed from the monitor. > > This adds a new

Re: [Qemu-devel] [PATCH qemu v4] monitor/target-ppc: Define target_get_monitor_def

2015-10-23 Thread Benjamin Herrenschmidt
On Thu, 2015-10-22 at 20:20 +1100, David Gibson wrote: > I asked a while back if your patch or BenH's patch doing a similar > thing was the one I should be looking at, and I never got a reply. You must have missed it ... go for Alexey latest Cheers, Ben.

Re: [Qemu-devel] [PATCH qemu v4] monitor/target-ppc: Define target_get_monitor_def

2015-10-22 Thread David Gibson
On Thu, Oct 22, 2015 at 06:31:56PM +1100, Alexey Kardashevskiy wrote: > On 10/02/2015 04:16 PM, Alexey Kardashevskiy wrote: > >At the moment get_monitor_def() returns only registers from statically > >defined monitor_defs array. However there is a lot of BOOK3S SPRs > >which are not in the list and

Re: [Qemu-devel] [PATCH qemu v4] monitor/target-ppc: Define target_get_monitor_def

2015-10-22 Thread Alexey Kardashevskiy
On 10/02/2015 04:16 PM, Alexey Kardashevskiy wrote: At the moment get_monitor_def() returns only registers from statically defined monitor_defs array. However there is a lot of BOOK3S SPRs which are not in the list and cannot be printed from the monitor. This adds a new target platform hook - ta

[Qemu-devel] [PATCH qemu v4] monitor/target-ppc: Define target_get_monitor_def

2015-10-01 Thread Alexey Kardashevskiy
At the moment get_monitor_def() returns only registers from statically defined monitor_defs array. However there is a lot of BOOK3S SPRs which are not in the list and cannot be printed from the monitor. This adds a new target platform hook - target_get_monitor_def(). The hook is called if a regist