mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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> |
||
|---|---|---|
| .. | ||
| hv-balloon-internal.h | ||
| hv-balloon-our_range_memslots.c | ||
| hv-balloon-our_range_memslots.h | ||
| hv-balloon-page_range_tree.c | ||
| hv-balloon-page_range_tree.h | ||
| hv-balloon-stub.c | ||
| hv-balloon.c | ||
| hyperv.c | ||
| hyperv_testdev.c | ||
| Kconfig | ||
| meson.build | ||
| syndbg.c | ||
| trace-events | ||
| trace.h | ||
| vmbus.c | ||