qemu/backends/tpm
Philippe Mathieu-Daudé 0ff9cd9a6a 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>
2025-06-10 12:59:09 +02:00
..
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
tpm_backend.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
tpm_emulator.c backends/tpm: Avoid using g_alloca() 2025-06-10 12:59:09 +02:00
tpm_int.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
tpm_ioctl.h tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
tpm_passthrough.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
tpm_util.c include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
trace-events tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00