mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:38 +00:00
dump: Abort in create_win_dump() on non-x86 guests
qmp_dump_guest_memory() checks win_dump_available() before calling create_win_dump(). On non-x86 targets calling it would be a programming error, so abort. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260121215622.92966-2-philmd@linaro.org>
This commit is contained in:
@@ -489,7 +489,7 @@ bool win_dump_available(Error **errp)
|
||||
|
||||
void create_win_dump(DumpState *s, Error **errp)
|
||||
{
|
||||
win_dump_available(errp);
|
||||
g_assert_not_reached();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user