X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=dump-stub.c;h=b3f42cb2f16029a46a80ca5d70b54da82a5a8c29;hb=74bc9066bc2cf61dd12994ea3b73401d33112656;hp=165c005b42fe4a11a70f977fbd51920306ad6137;hpb=248bfdc9f53a85b82e3ff39c5122d8849f61ee65;p=qemu.git diff --git a/dump-stub.c b/dump-stub.c index 165c005b4..b3f42cb2f 100644 --- a/dump-stub.c +++ b/dump-stub.c @@ -6,14 +6,14 @@ * Authors: * Wen Congyang * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ #include "qemu-common.h" -#include "dump.h" -#include "qerror.h" +#include "sysemu/dump.h" +#include "qapi/qmp/qerror.h" #include "qmp-commands.h" /* we need this function in hmp.c */ @@ -24,34 +24,6 @@ void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin, error_set(errp, QERR_UNSUPPORTED); } -int cpu_write_elf64_note(write_core_dump_function f, - CPUArchState *env, int cpuid, - void *opaque) -{ - return -1; -} - -int cpu_write_elf32_note(write_core_dump_function f, - CPUArchState *env, int cpuid, - void *opaque) -{ - return -1; -} - -int cpu_write_elf64_qemunote(write_core_dump_function f, - CPUArchState *env, - void *opaque) -{ - return -1; -} - -int cpu_write_elf32_qemunote(write_core_dump_function f, - CPUArchState *env, - void *opaque) -{ - return -1; -} - int cpu_get_dump_info(ArchDumpInfo *info) { return -1;