4 * Copyright Fujitsu, Corp. 2011, 2012
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 #include "qemu-common.h"
17 #include <sys/procfs.h>
27 #include "memory_mapping.h"
29 #include "qmp-commands.h"
32 /* we need this function in hmp.c */
33 void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
34 int64_t begin, bool has_length, int64_t length,
37 error_set(errp, QERR_UNSUPPORTED);
40 int cpu_write_elf64_note(write_core_dump_function f,
41 CPUArchState *env, int cpuid,
47 int cpu_write_elf32_note(write_core_dump_function f,
48 CPUArchState *env, int cpuid,
54 int cpu_write_elf64_qemunote(write_core_dump_function f,
61 int cpu_write_elf32_qemunote(write_core_dump_function f,
68 int cpu_get_dump_info(ArchDumpInfo *info)
73 ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)