The first patch splits memory mapping code to allow architectures that don't support/use paging to implement dump-guest-memory support.
Based on this, the second patch implements support for s390x. Ekaterina Tumanova (2): Split out dump-guest-memory memory mapping code s390: dump guest memory implementation Makefile.target | 2 +- configure | 2 +- dump.c | 11 +- include/elf.h | 6 ++ include/qapi/qmp/qerror.h | 3 + include/sysemu/dump.h | 3 + include/sysemu/memory_mapping.h | 12 +++ memory_mapping-stub.c | 11 +- memory_mapping.c | 84 +-------------- memory_mapping_common.c | 104 ++++++++++++++++++ target-s390x/Makefile.objs | 2 +- target-s390x/arch_dump.c | 231 ++++++++++++++++++++++++++++++++++++++++ target-s390x/cpu-qom.h | 21 ++++ target-s390x/cpu.c | 7 ++ 14 files changed, 404 insertions(+), 95 deletions(-) create mode 100644 memory_mapping_common.c create mode 100644 target-s390x/arch_dump.c -- 1.7.12.4