aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-06-10 13:37:03 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2025-06-12 13:40:16 -0400
commit5dd9087fff74b5672526cad254e76f790fb35c7a (patch)
treed47c31a4346ac2bfd7717d678bd1089128954199 /hw/avr/arduino.c
parent3438eabaf4f8ae58b6c47f1727938d1d7dac4823 (diff)
downloadqemu-5dd9087fff74b5672526cad254e76f790fb35c7a.zip
qemu-5dd9087fff74b5672526cad254e76f790fb35c7a.tar.gz
qemu-5dd9087fff74b5672526cad254e76f790fb35c7a.tar.bz2
hw/ppc/spapr_tpm_proxy: skip automatic zero-init of large arrays
The 'tpm_execute' method has a pair of 4k arrays used for copying data between guest and host. Skip the automatic zero-init of these arrays to eliminate the performance overhead in the I/O hot path. The two arrays will be fully initialized when reading data from guest memory or reading data from the proxy FD. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-id: 20250610123709.835102-26-berrange@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions