Re: [Qemu-devel] [PATCH v2] monitor: add PPC BookE SPRs

2011-05-03 Thread Alexander Graf
On 03.05.2011, at 17:28, Scott Wood wrote: > On Tue, 3 May 2011 13:02:40 +0200 > Alexander Graf wrote: > >> >> On 30.04.2011, at 00:10, Scott Wood wrote: >> >>> Read them via KVM_GET_SREGS in kvm_arch_get_registers(), >>> and display them in "info registers". >>> >>> Also get CR and PID from

Re: [Qemu-devel] [PATCH v2] monitor: add PPC BookE SPRs

2011-05-03 Thread Scott Wood
On Tue, 3 May 2011 13:02:40 +0200 Alexander Graf wrote: > > On 30.04.2011, at 00:10, Scott Wood wrote: > > > Read them via KVM_GET_SREGS in kvm_arch_get_registers(), > > and display them in "info registers". > > > > Also get CR and PID from the existing KVM_GET_REGS. > > > > Signed-off-by: Sc

Re: [Qemu-devel] [PATCH v2] monitor: add PPC BookE SPRs

2011-05-03 Thread Alexander Graf
On 30.04.2011, at 00:10, Scott Wood wrote: > Read them via KVM_GET_SREGS in kvm_arch_get_registers(), > and display them in "info registers". > > Also get CR and PID from the existing KVM_GET_REGS. > > Signed-off-by: Scott Wood > --- > v2: fix a couple style oversights, and cache kvm caps as r

Re: [Qemu-devel] [PATCH v2] monitor: add PPC BookE SPRs

2011-05-03 Thread Alexander Graf
On 30.04.2011, at 00:10, Scott Wood wrote: > Read them via KVM_GET_SREGS in kvm_arch_get_registers(), > and display them in "info registers". > > Also get CR and PID from the existing KVM_GET_REGS. > > Signed-off-by: Scott Wood cc1: warnings being treated as errors /home/agraf/release/qemu/ta

Re: [Qemu-devel] [PATCH v2] monitor: add PPC BookE SPRs

2011-05-03 Thread Alexander Graf
On 30.04.2011, at 00:10, Scott Wood wrote: > Read them via KVM_GET_SREGS in kvm_arch_get_registers(), > and display them in "info registers". > > Also get CR and PID from the existing KVM_GET_REGS. > > Signed-off-by: Scott Wood Nice patch :) Alex

[Qemu-devel] [PATCH v2] monitor: add PPC BookE SPRs

2011-04-29 Thread Scott Wood
Read them via KVM_GET_SREGS in kvm_arch_get_registers(), and display them in "info registers". Also get CR and PID from the existing KVM_GET_REGS. Signed-off-by: Scott Wood --- v2: fix a couple style oversights, and cache kvm caps as requested This version depends on http://patchwork.ozlabs.org