summary refs log tree commit diff stats
path: root/hw/pci/pci.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-10 11:19:34 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-02 17:56:57 +0200
commitb8d6e05f16b77231d11b96659072b302290b3396 (patch)
treee45901dc66f3a742246a9de8063315b3ddf631b5 /hw/pci/pci.c
parenta80151c9da1a848e5d3ad7153080beaf0745e4cc (diff)
downloadfocaccia-qemu-b8d6e05f16b77231d11b96659072b302290b3396.tar.gz
focaccia-qemu-b8d6e05f16b77231d11b96659072b302290b3396.zip
target/ppc/kvm: Avoid using alloca()
kvmppc_load_htab_chunk() is used for migration, thus is not
a hot path. Use the heap instead of the stack, removing the
alloca() call.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20250901132626.28639-2-philmd@linaro.org>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions