diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2025-06-10 13:36:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2025-06-12 13:40:15 -0400 |
commit | 5a1f614d0cd0bcc8e84e0b7ab6af63d56bd348a2 (patch) | |
tree | 0da94cca70c82b6797a9f8dd43a119c5a76c689d /hw/avr/arduino.c | |
parent | 7048e70f391df76d009eecca25f8027858f9f304 (diff) | |
download | qemu-5a1f614d0cd0bcc8e84e0b7ab6af63d56bd348a2.zip qemu-5a1f614d0cd0bcc8e84e0b7ab6af63d56bd348a2.tar.gz qemu-5a1f614d0cd0bcc8e84e0b7ab6af63d56bd348a2.tar.bz2 |
hw/hyperv/syndbg: skip automatic zero-init of large array
The 'handle_recv_msg' method has a 4k byte array used for copying
data between the network socket and guest memory. Skip the automatic
zero-init of this array to eliminate the performance overhead in the
I/O hot path.
The 'data_buf' array will be fully initialized when data is read
off the network socket.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20250610123709.835102-18-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