diff options
author | 2024-02-21 17:26:35 +0100 | |
---|---|---|
committer | 2024-02-23 08:13:52 +0100 | |
commit | 97c2fc5076be1fb37e7af5287289c3ee023faabd (patch) | |
tree | 195e826ff313b3b68f601563295254d416119785 /docs/conf.py | |
parent | target/ppc/kvm: Replace variable length array in kvmppc_save_htab() (diff) | |
download | qemu-97c2fc5076be1fb37e7af5287289c3ee023faabd.tar.xz qemu-97c2fc5076be1fb37e7af5287289c3ee023faabd.zip |
target/ppc/kvm: Replace variable length array in kvmppc_read_hptes()
HPTES_PER_GROUP is 8 and HASH_PTE_SIZE_64 is 16, so we don't waste
too many bytes by always allocating the maximum amount of bytes on
the stack here to get rid of the variable length array.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20240221162636.173136-3-thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions