s390: Implement dump-guest-memory support for target s390x
commit9b4f38e182d18cac217f04b8b7fddf760a5b9d44
authorEkaterina Tumanova <tumanova@linux.vnet.ibm.com>
Wed, 10 Jul 2013 13:26:46 +0000 (10 15:26 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 30 Jul 2013 14:12:25 +0000 (30 16:12 +0200)
tree7097fcc80f9dc52783613a3571a0201c981e31e2
parentd2ee774616280db778f0b4b97a8ac514602ad52c
s390: Implement dump-guest-memory support for target s390x

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.

Signed-off-by: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
[fixed indentation, use CamelCase, rename note_t to Note, use S390CPU]
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
include/elf.h
target-s390x/Makefile.objs
target-s390x/arch_dump.c [new file with mode: 0644]
target-s390x/cpu-qom.h
target-s390x/cpu.c