diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-06-05 19:54:58 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-06-10 12:59:09 +0200 |
commit | 0ff9cd9a6af54ccaa293e252aa356fb150788099 (patch) | |
tree | 7c9e6d5447155593eae26c1d194c2cc21f403382 /hw/avr/arduino.c | |
parent | c7785e243195799749242b5fc741b8fbf1053f82 (diff) | |
download | qemu-0ff9cd9a6af54ccaa293e252aa356fb150788099.zip qemu-0ff9cd9a6af54ccaa293e252aa356fb150788099.tar.gz qemu-0ff9cd9a6af54ccaa293e252aa356fb150788099.tar.bz2 |
backends/tpm: Avoid using g_alloca()
tpm_emulator_ctrlcmd() is not in hot path.
Use the heap instead of the stack, removing
the g_alloca() call.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20250605193540.59874-3-philmd@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions