You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/audio
Daniel P. Berrangé bb71d9fe14 hw/audio/via-ac97: skip automatic zero-init of large array
The 'out_cb' method has a 4k byte array used for copying data
between the audio backend and device. Skip the automatic zero-init
of this array to eliminate the performance overhead in the I/O hot
path.

The 'tmpbuf' array will be fully initialized when reading data from
device memory.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20250610123709.835102-14-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2 weeks ago
..
Kconfig Add virtio-sound device stub 2 years ago
ac97.c hw/audio/ac97: skip automatic zero-init of large arrays 2 weeks ago
ac97.h hw/audio/ac97: Split off some definitions to a header 2 years ago
adlib.c qom: Have class_init() take a const data argument 2 months ago
asc.c hw/audio/asc: replace g_malloc0() with g_malloc() 1 month ago
cs4231.c qom: Have class_init() take a const data argument 2 months ago
cs4231a.c hw/audio/cs4231a: skip automatic zero-init of large arrays 2 weeks ago
es1370.c hw/audio/es1370: skip automatic zero-init of large array 2 weeks ago
fmopl.c audio: spelling fixes 2 years ago
fmopl.h audio: spelling fixes 2 years ago
gus.c hw/audio/gus: skip automatic zero-init of large array 2 weeks ago
gusemu.h
gusemu_hal.c audio: spelling fixes 2 years ago
gusemu_mixer.c
gustate.h
hda-codec-common.h
hda-codec.c qom: Have class_init() take a const data argument 2 months ago
intel-hda-defs.h audio: spelling fixes 2 years ago
intel-hda.c qom: Make InterfaceInfo[] uses const 2 months ago
intel-hda.h hw/audio: Simplify hda audio init 2 years ago
lm4549.c hw/audio: Constify VMState 2 years ago
lm4549.h hw/audio/lm4549: Add errp error reporting to init function 2 years ago
marvell_88w8618.c hw/audio/marvell_88w8618: skip automatic zero-init of large array 2 weeks ago
meson.build Add virtio-sound-pci device 2 years ago
pcspk.c qom: Have class_init() take a const data argument 2 months ago
pl041.c qom: Have class_init() take a const data argument 2 months ago
pl041.h
pl041.hx
sb16.c hw/audio/sb16: skip automatic zero-init of large array 2 weeks ago
soundhw.c replace error_setg(&error_fatal, ...) with error_report() 8 months ago
trace-events hw/audio/virtio-sound: fix heap buffer overflow 10 months ago
trace.h
via-ac97.c hw/audio/via-ac97: skip automatic zero-init of large array 2 weeks ago
virtio-snd-pci.c qom: Have class_init() take a const data argument 2 months ago
virtio-snd.c qom: Have class_init() take a const data argument 2 months ago
wm8750.c qom: Have class_init() take a const data argument 2 months ago