]>
Commit | Line | Data |
---|---|---|
5f86146f PB |
1 | /* |
2 | * QEMU dump | |
3 | * | |
4 | * Copyright Fujitsu, Corp. 2011, 2012 | |
5 | * | |
6 | * Authors: | |
7 | * Wen Congyang <wency@cn.fujitsu.com> | |
8 | * | |
9 | * This work is licensed under the terms of the GNU GPL, version 2. See | |
10 | * the COPYING file in the top-level directory. | |
11 | * | |
12 | */ | |
13 | ||
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" | |
31 | ||
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) | |
36 | { | |
37 | error_set(errp, QERR_UNSUPPORTED); | |
38 | } | |
39 | ||
40 | int cpu_write_elf64_note(write_core_dump_function f, | |
41 | CPUArchState *env, int cpuid, | |
42 | void *opaque) | |
43 | { | |
44 | return -1; | |
45 | } | |
46 | ||
47 | int cpu_write_elf32_note(write_core_dump_function f, | |
48 | CPUArchState *env, int cpuid, | |
49 | void *opaque) | |
50 | { | |
51 | return -1; | |
52 | } | |
53 | ||
54 | int cpu_write_elf64_qemunote(write_core_dump_function f, | |
55 | CPUArchState *env, | |
56 | void *opaque) | |
57 | { | |
58 | return -1; | |
59 | } | |
60 | ||
61 | int cpu_write_elf32_qemunote(write_core_dump_function f, | |
62 | CPUArchState *env, | |
63 | void *opaque) | |
64 | { | |
65 | return -1; | |
66 | } | |
67 | ||
68 | int cpu_get_dump_info(ArchDumpInfo *info) | |
69 | { | |
70 | return -1; | |
71 | } | |
72 | ||
73 | ssize_t cpu_get_note_size(int class, int machine, int nr_cpus) | |
74 | { | |
75 | return -1; | |
76 | } | |
77 |