s390: Implement dump-guest-memory support for target s390x

Enterprise / Virtualization / QEMU - Ekaterina Tumanova [linux.vnet.ibm.com] - 30 July 2013 09:12 UTC

With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to implement this, the arch-specific part of dump-guest-memory was added: target-s390x/arch_dump.c contains the whole set of function for writing Elf note sections of all types for s390x.

9b4f38e s390: Implement dump-guest-memory support for target s390x
include/elf.h | 6 ++
target-s390x/Makefile.objs | 2 +-
target-s390x/arch_dump.c | 212 ++++++++++++++++++++++++++++++++++++++++++++
target-s390x/cpu-qom.h | 5 ++
target-s390x/cpu.c | 2 +
5 files changed, 226 insertions(+), 1 deletion(-)

Upstream: git.qemu.org


  • Share