Re: [Qemu-devel] [PATCH qemu 2/2] target-ppc: Define get_monitor_def

2015-08-11 Thread David Gibson
On Thu, Aug 06, 2015 at 03:25:57PM +1000, Alexey Kardashevskiy wrote: > At the moment get_monitor_def() prints only registers from monitor_defs. > However there is a lot of BOOK3S SPRs which are not in the list and > cannot be printed. > > This makes use of the new get_monitor_def() callback and p

Re: [Qemu-devel] [PATCH qemu 2/2] target-ppc: Define get_monitor_def

2015-08-06 Thread Thomas Huth
On 06/08/15 09:00, Alexey Kardashevskiy wrote: > On 08/06/2015 04:33 PM, Thomas Huth wrote: >> On 06/08/15 07:25, Alexey Kardashevskiy wrote: >>> At the moment get_monitor_def() prints only registers from monitor_defs. >>> However there is a lot of BOOK3S SPRs which are not in the list and >>> cann

Re: [Qemu-devel] [PATCH qemu 2/2] target-ppc: Define get_monitor_def

2015-08-06 Thread Alexey Kardashevskiy
On 08/06/2015 04:33 PM, Thomas Huth wrote: On 06/08/15 07:25, Alexey Kardashevskiy wrote: At the moment get_monitor_def() prints only registers from monitor_defs. However there is a lot of BOOK3S SPRs which are not in the list and cannot be printed. This makes use of the new get_monitor_def() c

Re: [Qemu-devel] [PATCH qemu 2/2] target-ppc: Define get_monitor_def

2015-08-05 Thread Thomas Huth
On 06/08/15 07:25, Alexey Kardashevskiy wrote: > At the moment get_monitor_def() prints only registers from monitor_defs. > However there is a lot of BOOK3S SPRs which are not in the list and > cannot be printed. > > This makes use of the new get_monitor_def() callback and prints all > registered

[Qemu-devel] [PATCH qemu 2/2] target-ppc: Define get_monitor_def

2015-08-05 Thread Alexey Kardashevskiy
At the moment get_monitor_def() prints only registers from monitor_defs. However there is a lot of BOOK3S SPRs which are not in the list and cannot be printed. This makes use of the new get_monitor_def() callback and prints all registered SPRs and fails on unregistered ones proving the user inform