summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJanosch Frank2022-08-11 14:10:57 +0200
committerMarc-André Lureau2022-10-06 17:30:43 +0200
commit0c2994ac9009577b967529ce18e269da5b280351 (patch)
treef2b2eda93976d954d0edc78528f2a5c496993e6d /include
parentdump: Refactor dump_iterate and introduce dump_filter_memblock_*() (diff)
downloadqemu-0c2994ac9009577b967529ce18e269da5b280351.tar.gz
qemu-0c2994ac9009577b967529ce18e269da5b280351.tar.xz
qemu-0c2994ac9009577b967529ce18e269da5b280351.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/dump.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h
index ffc2ea1072..7fce1d4af6 100644
--- a/include/sysemu/dump.h
+++ b/include/sysemu/dump.h
@@ -166,8 +166,6 @@ typedef struct DumpState {
hwaddr memory_offset;
int fd;
- GuestPhysBlock *next_block;
- ram_addr_t start;
bool has_filter;
int64_t begin;
int64_t length;