qemu/dump
Markus Armbruster f1a4697c23 dump: Assert cpu_get_note_size() can't fail
The only way cpu_get_note_size() can return a negative value is
integer overflow in the non-stub versions, which is a programming
error.  The stub version is not actually reachable, because the
cpu_get_dump_info() stub will fail first.  Use assert().  This gets
rid of another use of QERR_UNSUPPORTED.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230207075115.1525-4-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
2023-02-23 14:10:17 +01:00
..
dump-hmp-cmds.c hmp: drop Error pointer indirection in hmp_handle_error 2019-12-18 08:36:16 +01:00
dump.c dump: Assert cpu_get_note_size() can't fail 2023-02-23 14:10:17 +01:00
meson.build meson: convert dump/ 2020-08-21 06:30:22 -04:00
win_dump.c dump/win_dump: limit number of processed PRCBs 2022-10-26 12:55:00 +04:00
win_dump.h