]> git.proxmox.com Git - qemu.git/blobdiff - dump.c
dump: remove dumping stuff from cpu-all.h
[qemu.git] / dump.c
diff --git a/dump.c b/dump.c
index b24d4be7a63c71fc7b24214d9ae94f8d40dfd8fa..f5c72833a3c6e41026dcdc48384acf86b56d3ac1 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -29,7 +29,6 @@
 #include "qmp-commands.h"
 #include "gdbstub.h"
 
-#if defined(CONFIG_HAVE_CORE_DUMP)
 static uint16_t cpu_convert_to_target16(uint16_t val, int endian)
 {
     if (endian == ELFDATA2LSB) {
@@ -876,13 +875,3 @@ void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
 
     g_free(s);
 }
-
-#else
-/* we need this function in hmp.c */
-void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
-                           int64_t begin, bool has_length, int64_t length,
-                           Error **errp)
-{
-    error_set(errp, QERR_UNSUPPORTED);
-}
-#endif