]> git.proxmox.com Git - mirror_qemu.git/commit
dump: Rework filter area variables
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 11 Aug 2022 12:10:58 +0000 (12:10 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 6 Oct 2022 15:30:43 +0000 (19:30 +0400)
commitdddf725f70bfe7f5adb41fa31dbd06e767271bda
tree59ab4b468de2da718fd0ca0541ccdb05c4edd411
parent0c2994ac9009577b967529ce18e269da5b280351
dump: Rework filter area variables

While the DumpState begin and length variables directly mirror the API
variable names they are not very descriptive. So let's add a
"filter_area_" prefix and make has_filter a function checking length > 0.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220811121111.9878-6-frankja@linux.ibm.com>
dump/dump.c
include/sysemu/dump.h