Re: [Qemu-devel] [PATCH v2 5/6] target-arm: support QMP dump-guest-memory

2015-12-03 Thread Peter Maydell
On 3 December 2015 at 18:55, Andrew Jones wrote: > On Thu, Dec 03, 2015 at 11:44:05AM +, Peter Maydell wrote: >> On 25 November 2015 at 00:37, Andrew Jones wrote: >> > Add the support needed for creating prstatus elf notes. This >> > allows us to use QMP dump-guest-memory. >> >> > + >> > +

Re: [Qemu-devel] [PATCH v2 5/6] target-arm: support QMP dump-guest-memory

2015-12-03 Thread Andrew Jones
On Thu, Dec 03, 2015 at 11:44:05AM +, Peter Maydell wrote: > On 25 November 2015 at 00:37, Andrew Jones wrote: > > Add the support needed for creating prstatus elf notes. This > > allows us to use QMP dump-guest-memory. > > > + > > +if (is_a64(env)) { > > +for (i = 0; i < 31; ++i)

Re: [Qemu-devel] [PATCH v2 5/6] target-arm: support QMP dump-guest-memory

2015-12-03 Thread Peter Maydell
On 25 November 2015 at 00:37, Andrew Jones wrote: > Add the support needed for creating prstatus elf notes. This > allows us to use QMP dump-guest-memory. > + > +if (is_a64(env)) { > +for (i = 0; i < 31; ++i) { > +note.prstatus.pr_reg.regs[i] = cpu_to_dump64(s, env->xregs[

[Qemu-devel] [PATCH v2 5/6] target-arm: support QMP dump-guest-memory

2015-11-24 Thread Andrew Jones
Add the support needed for creating prstatus elf notes. This allows us to use QMP dump-guest-memory. Signed-off-by: Andrew Jones --- target-arm/Makefile.objs | 3 +- target-arm/arch_dump.c | 230 +++ target-arm/cpu-qom.h | 5 ++ target-arm/cp