block: allow bdrv_unref() to be passed NULL pointers
[qemu.git] / stubs / dump.c
blobfac70191eb4a5545ca9996b6e2456b261a393083
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 "sysemu/dump-arch.h"
16 #include "qapi/qmp/qerror.h"
17 #include "qmp-commands.h"
19 int cpu_get_dump_info(ArchDumpInfo *info,
20 const struct GuestPhysBlockList *guest_phys_blocks)
22 return -1;
25 ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
27 return -1;