diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-06-07 08:22:56 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-06-07 09:20:17 +0200 |
commit | 5f86146fb3ad18ef25036329f48d9ea2b7f4ab70 (patch) | |
tree | a60296ec605946c0c0266e7c79577b5fb73fd585 /dump.c | |
parent | 4720bd050655a56b4b048d8856a03ae187481a7f (diff) | |
download | hqemu-5f86146fb3ad18ef25036329f48d9ea2b7f4ab70.zip hqemu-5f86146fb3ad18ef25036329f48d9ea2b7f4ab70.tar.gz |
dump: remove dumping stuff from cpu-all.h
This simplifies things, because they will only be included for softmmu
targets and because the stubs are taken out-of-line in separate files,
which in the future could even be compiled only once.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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 |