aboutsummaryrefslogtreecommitdiff
path: root/iothread.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2021-10-08 07:46:16 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-13 10:47:49 +0200
commitdec490db8b5c98d60814d07c23ddf70708a56d6e (patch)
tree46fd5d5bc5d3d46cbeb908cb9f4cbe3d1247a3ec /iothread.c
parent8e751e9c38e324737fd3d3aa0562f886313bba3c (diff)
downloadqemu-dec490db8b5c98d60814d07c23ddf70708a56d6e.zip
qemu-dec490db8b5c98d60814d07c23ddf70708a56d6e.tar.gz
qemu-dec490db8b5c98d60814d07c23ddf70708a56d6e.tar.bz2
hvf: Determine slot count from struct layout
We can handle up to a static amount of memory slots, capped by the size of an internal array. Let's make sure that array size is the only source of truth for the number of elements in that array. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211008054616.43828-1-agraf@csgraf.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions