build: adapt qom/Makefile and move it to Makefile.objs
[qemu/ar7.git] / dump-stub.c
blob4c8bedb6ce38dba3fa4e63069374b9a26c941294
1 /*
2 * QEMU dump
4 * Copyright Fujitsu, Corp. 2011, 2012
6 * Authors:
7 * Wen Congyang <wency@cn.fujitsu.com>
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"
15 #include <unistd.h>
16 #include "elf.h"
17 #include <sys/procfs.h>
18 #include <glib.h>
19 #include "cpu.h"
20 #include "cpu-all.h"
21 #include "targphys.h"
22 #include "monitor.h"
23 #include "kvm.h"
24 #include "dump.h"
25 #include "sysemu.h"
26 #include "bswap.h"
27 #include "memory_mapping.h"
28 #include "error.h"
29 #include "qmp-commands.h"
30 #include "gdbstub.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,
35 Error **errp)
37 error_set(errp, QERR_UNSUPPORTED);
40 int cpu_write_elf64_note(write_core_dump_function f,
41 CPUArchState *env, int cpuid,
42 void *opaque)
44 return -1;
47 int cpu_write_elf32_note(write_core_dump_function f,
48 CPUArchState *env, int cpuid,
49 void *opaque)
51 return -1;
54 int cpu_write_elf64_qemunote(write_core_dump_function f,
55 CPUArchState *env,
56 void *opaque)
58 return -1;
61 int cpu_write_elf32_qemunote(write_core_dump_function f,
62 CPUArchState *env,
63 void *opaque)
65 return -1;
68 int cpu_get_dump_info(ArchDumpInfo *info)
70 return -1;
73 ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
75 return -1;