aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-06-10 13:37:07 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2025-06-12 13:40:16 -0400
commit7708e298180550eac262c1fd742e6e80c711a5d8 (patch)
tree6d036dc512959c739460f0ca2c3ac9eb10d3739a /hw/avr/arduino.c
parentca0559e2350c618048f7caf80cb79c1259e7cfd2 (diff)
downloadqemu-7708e298180550eac262c1fd742e6e80c711a5d8.zip
qemu-7708e298180550eac262c1fd742e6e80c711a5d8.tar.gz
qemu-7708e298180550eac262c1fd742e6e80c711a5d8.tar.bz2
hw/ufs/lu: skip automatic zero-init of large array
The 'ufs_emulate_scsi_cmd' method has a 4k byte array used for copying data from the device. Skip the automatic zero-init of this array to eliminate the performance overhead in the I/O hot path. The 'outbuf' array will be fully initialized when data is copied from the guest. 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-30-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