Re: [PATCH v3 1/1] target-riscv: support QMP dump-guest-memory

2021-01-15 Thread Andrew Jones
On Fri, Jan 15, 2021 at 09:28:19AM +0800, Yifei Jiang wrote: > Add the support needed for creating prstatus elf notes. Now elf notes > only contains user_regs. This allows us to use QMP dump-guest-memory. > > Signed-off-by: Yifei Jiang > Signed-off-by: Mingwang Li > --- > target/riscv/arch_dump

Re: [PATCH v3 1/1] target-riscv: support QMP dump-guest-memory

2021-01-14 Thread Palmer Dabbelt
On Thu, 14 Jan 2021 17:28:19 PST (-0800), jiangyi...@huawei.com wrote: Add the support needed for creating prstatus elf notes. Now elf notes only contains user_regs. This allows us to use QMP dump-guest-memory. "Now elf notes only contains user_regs" sounds a bit odd. Also, I usually see this

[PATCH v3 1/1] target-riscv: support QMP dump-guest-memory

2021-01-14 Thread Yifei Jiang
Add the support needed for creating prstatus elf notes. Now elf notes only contains user_regs. This allows us to use QMP dump-guest-memory. Signed-off-by: Yifei Jiang Signed-off-by: Mingwang Li --- target/riscv/arch_dump.c | 202 +++ target/riscv/cpu.c