Home
last modified time | relevance | path

Searched hist:"97 c2fc5076be1fb37e7af5287289c3ee023faabd" (Results 1 – 1 of 1) sorted by relevance

/qemu/target/ppc/
H A Dkvm.c97c2fc5076be1fb37e7af5287289c3ee023faabd Wed Feb 21 16:26:35 UTC 2024 Thomas Huth <thuth@redhat.com> 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>