summary refs log tree commit diff stats
path: root/dump/dump.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-23 23:59:19 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:02 +0100
commit972448628a9fe967ac1ba0d56a60247bbd4f7501 (patch)
treef419780b56d9dfce527bd93583dbd111fdb1d334 /dump/dump.c
parentefc3146a6e32399c2935b1806449ed5e5d0a1719 (diff)
downloadfocaccia-qemu-972448628a9fe967ac1ba0d56a60247bbd4f7501.tar.gz
focaccia-qemu-972448628a9fe967ac1ba0d56a60247bbd4f7501.zip
dump: Add create_win_dump() stub for non-x86 targets
Implement the non-x86 create_win_dump(). We can remove
the last TARGET_X86_64 #ifdef'ry in dump.c, which thus
becomes target-independent. Update meson accordingly.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-6-philmd@linaro.org>
Diffstat (limited to 'dump/dump.c')
-rw-r--r--dump/dump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dump/dump.c b/dump/dump.c
index fa650980d8..544d5bce3a 100644
--- a/dump/dump.c
+++ b/dump/dump.c
@@ -2018,9 +2018,7 @@ static void dump_process(DumpState *s, Error **errp)
     DumpQueryResult *result = NULL;
 
     if (s->has_format && s->format == DUMP_GUEST_MEMORY_FORMAT_WIN_DMP) {
-#ifdef TARGET_X86_64
         create_win_dump(s, errp);
-#endif
     } else if (s->has_format && s->format != DUMP_GUEST_MEMORY_FORMAT_ELF) {
         create_kdump_vmcore(s, errp);
     } else {