blob: 56d4564f0fc20f0ece70c60004d50a0c27d5373c [file] [log] [blame]
Paolo Bonzini5f861462012-06-07 08:22:56 +02001/*
2 * QEMU dump
3 *
4 * Copyright Fujitsu, Corp. 2011, 2012
5 *
6 * Authors:
7 * Wen Congyang <wency@cn.fujitsu.com>
8 *
Stefan Weil352666e2012-06-10 19:34:04 +00009 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
Paolo Bonzini5f861462012-06-07 08:22:56 +020011 *
12 */
13
14#include "qemu-common.h"
Paolo Bonzini5f861462012-06-07 08:22:56 +020015#include "dump.h"
Stefan Weil7baa8202012-06-08 19:57:25 +020016#include "qerror.h"
Paolo Bonzini5f861462012-06-07 08:22:56 +020017#include "qmp-commands.h"
Paolo Bonzini5f861462012-06-07 08:22:56 +020018
19/* we need this function in hmp.c */
20void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
21 int64_t begin, bool has_length, int64_t length,
22 Error **errp)
23{
24 error_set(errp, QERR_UNSUPPORTED);
25}
26
27int cpu_write_elf64_note(write_core_dump_function f,
28 CPUArchState *env, int cpuid,
29 void *opaque)
30{
31 return -1;
32}
33
34int cpu_write_elf32_note(write_core_dump_function f,
35 CPUArchState *env, int cpuid,
36 void *opaque)
37{
38 return -1;
39}
40
41int cpu_write_elf64_qemunote(write_core_dump_function f,
42 CPUArchState *env,
43 void *opaque)
44{
45 return -1;
46}
47
48int cpu_write_elf32_qemunote(write_core_dump_function f,
49 CPUArchState *env,
50 void *opaque)
51{
52 return -1;
53}
54
55int cpu_get_dump_info(ArchDumpInfo *info)
56{
57 return -1;
58}
59
60ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
61{
62 return -1;
63}
64