xref: /openbmc/qemu/stubs/dump.c (revision 88f62c2b)
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 or later.
10  * See the COPYING file in the top-level directory.
11  *
12  */
13 
14 #include "qemu-common.h"
15 #include "sysemu/dump.h"
16 #include "qapi/qmp/qerror.h"
17 #include "qmp-commands.h"
18 
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)
23 {
24     error_set(errp, QERR_UNSUPPORTED);
25 }
26 
27 int cpu_get_dump_info(ArchDumpInfo *info)
28 {
29     return -1;
30 }
31 
32 ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
33 {
34     return -1;
35 }
36 
37