qemu-e2k/dump
Janosch Frank c370d5300f dump: Rework dump_calculate_size function
dump_calculate_size() sums up all the sizes of the guest memory
blocks. Since we already have a function that calculates the size of a
single memory block (dump_get_memblock_size()) we can simply iterate
over the blocks and use the function instead of calculating the size
ourselves.

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-7-frankja@linux.ibm.com>
2022-10-06 19:30:43 +04:00
..
dump-hmp-cmds.c
dump.c dump: Rework dump_calculate_size function 2022-10-06 19:30:43 +04:00
meson.build
win_dump.c dump/win_dump: add 32-bit guest Windows support 2022-04-22 13:41:56 +04:00
win_dump.h