Files
qemu-qemu-1/dump/win_dump-stubs.c
Philippe Mathieu-Daudé a2290fa210 dump: Build stubs once for non-x86 targets
Rather than compiling the same content for all targets (unused
most of the time, i.e. qemu-system-avr ...), extract the non
x86 specific parts to a stub file and build it once for all
non-x86 targets.

Add a Kconfig symbol to only select the target-specific file
with the x86 target (rename this file with '-x86' suffix).

Since Kconfig symbols aren't evaluated for user emulation,
the file unit is only built for system emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260121215622.92966-3-philmd@linaro.org>
2026-01-22 10:48:46 +01:00

22 lines
361 B
C

/*
* Windows crashdump stubs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "win_dump.h"
bool win_dump_available(Error **errp)
{
error_setg(errp, "x86-64 Windows guest dump not built-in");
return false;
}
void create_win_dump(DumpState *s, Error **errp)
{
g_assert_not_reached();
}