diff options
| author | Janosch Frank | 2022-08-11 14:10:59 +0200 |
|---|---|---|
| committer | Marc-André Lureau | 2022-10-06 17:30:43 +0200 |
| commit | c370d5300f9ac1f90f8158082d22262b904fe30e (patch) | |
| tree | 05902bc16183e6c732e3304a91b4741f5ff26f3e /include/exec/exec-all.h | |
| parent | dump: Rework filter area variables (diff) | |
| download | qemu-c370d5300f9ac1f90f8158082d22262b904fe30e.tar.gz qemu-c370d5300f9ac1f90f8158082d22262b904fe30e.tar.xz qemu-c370d5300f9ac1f90f8158082d22262b904fe30e.zip | |
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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
