qemu/dump
Janosch Frank 0c2994ac90 dump: Rework get_start_block
get_start_block() returns the start address of the first memory block
or -1.

With the GuestPhysBlock iterator conversion we don't need to set the
start address and can therefore remove that code and the "start"
DumpState struct member. The only functionality left is the validation
of the start block so it only makes sense to re-name the function to
validate_start_block()

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Message-Id: <20220811121111.9878-5-frankja@linux.ibm.com>
2022-10-06 19:30:43 +04: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: Rework get_start_block 2022-10-06 19:30:43 +04:00
meson.build meson: convert dump/ 2020-08-21 06:30:22 -04:00
win_dump.c dump/win_dump: add 32-bit guest Windows support 2022-04-22 13:41:56 +04:00
win_dump.h dump: Move the code to dump/ 2019-07-02 13:37:00 +02:00