Merge remote-tracking branch 'sstabellini/xen-fixes-20120801' into staging
[qemu/opensuse.git] / dump-stub.c
blob56d4564f0fc20f0ece70c60004d50a0c27d5373c
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 or later.
10 * See the COPYING file in the top-level directory.
14 #include "qemu-common.h"
15 #include "dump.h"
16 #include "qerror.h"
17 #include "qmp-commands.h"
19 /* we need this function in hmp.c */
20 void 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)
24 error_set(errp, QERR_UNSUPPORTED);
27 int cpu_write_elf64_note(write_core_dump_function f,
28 CPUArchState *env, int cpuid,
29 void *opaque)
31 return -1;
34 int cpu_write_elf32_note(write_core_dump_function f,
35 CPUArchState *env, int cpuid,
36 void *opaque)
38 return -1;
41 int cpu_write_elf64_qemunote(write_core_dump_function f,
42 CPUArchState *env,
43 void *opaque)
45 return -1;
48 int cpu_write_elf32_qemunote(write_core_dump_function f,
49 CPUArchState *env,
50 void *opaque)
52 return -1;
55 int cpu_get_dump_info(ArchDumpInfo *info)
57 return -1;
60 ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
62 return -1;