mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
d2ee774616
commit
9b4f38e182
5 changed files with 226 additions and 1 deletions
|
@ -178,6 +178,8 @@ static void s390_cpu_class_init(ObjectClass *oc, void *data)
|
|||
cc->gdb_write_register = s390_cpu_gdb_write_register;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
cc->get_phys_page_debug = s390_cpu_get_phys_page_debug;
|
||||
cc->write_elf64_note = s390_cpu_write_elf64_note;
|
||||
cc->write_elf64_qemunote = s390_cpu_write_elf64_qemunote;
|
||||
#endif
|
||||
dc->vmsd = &vmstate_s390_cpu;
|
||||
cc->gdb_num_core_regs = S390_NUM_REGS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue