qemu/dump
Markus Armbruster 4023839757 dump: Drop redundant check for empty dump
dump_init() first computes the size of the dump, taking the filter
area into account, and fails if its zero.  It then looks for memory in
the filter area, and fails if there is none.

This is redundant: if the size of the dump is zero, there is no
memory, and vice versa.  Delete this check.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20231031104531.3169721-6-armbru@redhat.com>
2023-11-02 18:40:50 +04:00
..
dump-hmp-cmds.c dump: Add command interface for kdump-raw formats 2023-11-02 18:40:37 +04:00
dump.c dump: Drop redundant check for empty dump 2023-11-02 18:40:50 +04:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
win_dump.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
win_dump.h dump: Simplify compiling win_dump.o by introducing win_dump_available() 2023-02-27 22:29:02 +01:00