diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2026-01-07 18:46:15 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2026-01-22 10:48:45 +0100 |
| commit | 40b51dd9b452831d47840bd90b20e0d827370827 (patch) | |
| tree | 35c58f46563497fc1c073e4def61b65160a1c057 /dump | |
| parent | da38740554c7ffd8c1c630d0764c733018dd29be (diff) | |
| download | qemu-40b51dd9b452831d47840bd90b20e0d827370827.tar.gz qemu-40b51dd9b452831d47840bd90b20e0d827370827.zip | |
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>
Diffstat (limited to 'dump')
| -rw-r--r-- | dump/win_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dump/win_dump.c b/dump/win_dump.c index 3162e8bd48..6e07913dfb 100644 --- a/dump/win_dump.c +++ b/dump/win_dump.c @@ -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 |
