target/loongarch: Support QMP dump-guest-memory

2024-09-13 Thread Richard Henderson
On 9/13/24 11:44, scan-ad...@coverity.com wrote: ** CID 1561133: Integer handling issues (BAD_SHIFT) /builds/qemu-project/qemu/target/loongarch/arch_dump.c: 102 in loongarch_write_elf64_fprpreg() __

[PULL 4/7] target/loongarch: Support QMP dump-guest-memory

2024-09-12 Thread Song Gao
From: Bibo Mao Add the support needed for creating prstatus elf notes. This allows us to use QMP dump-guest-memory. Now ELF notes of LoongArch only supports general elf notes, LSX and LASX is not supported, since it is mainly used to dump guest memory. Signed-off-by: Bibo Mao Reviewed-by: Song

Re: [PATCH] target/loongarch: Support QMP dump-guest-memory

2024-09-08 Thread gaosong
在 2024/8/22 下午2:52, Bibo Mao 写道: Add the support needed for creating prstatus elf notes. This allows us to use QMP dump-guest-memory. Now ELF notes of LoongArch only supports general elf notes, LSX and LASX is not supported, since it is mainly used to dump guest memory. Signed-off-by: Bibo M

[PATCH] target/loongarch: Support QMP dump-guest-memory

2024-08-21 Thread Bibo Mao
Add the support needed for creating prstatus elf notes. This allows us to use QMP dump-guest-memory. Now ELF notes of LoongArch only supports general elf notes, LSX and LASX is not supported, since it is mainly used to dump guest memory. Signed-off-by: Bibo Mao --- target/loongarch/arch_dump.c