qemu-e2k/hw/audio
Dr. David Alan Gilbert 67fa1f5700 audio/hda: Fix migration
Fix outgoing migration which was crashing in
vmstate_hda_audio_stream_buf_needed, I think the problem
is that we have room for upto 4 streams in the array but only
use 2, when we come to try and save the state of the unused
streams we hit st->state == NULL.

Fixes: 280c1e1cdb
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20180724102215.31866-1-dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2018-07-24 17:02:02 +01:00
..
ac97.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
adlib.c
cs4231.c
cs4231a.c hw/audio: Fix crashes when devices are used on ISA bus without DMA 2018-03-26 14:37:13 +02:00
es1370.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
fmopl.c hw: use "qemu/osdep.h" as first #include in source files 2017-12-18 17:07:02 +03:00
fmopl.h misc: remove headers implicitly included 2017-12-18 17:07:02 +03:00
gus.c hw/audio: Fix crashes when devices are used on ISA bus without DMA 2018-03-26 14:37:13 +02:00
gusemu_hal.c
gusemu_mixer.c
gusemu.h
gustate.h
hda-codec-common.h
hda-codec.c audio/hda: Fix migration 2018-07-24 17:02:02 +01:00
intel-hda-defs.h
intel-hda.c audio/hda: create millisecond timers that handle IO 2018-06-25 13:57:57 +02:00
intel-hda.h
lm4549.c
lm4549.h
Makefile.objs
marvell_88w8618.c hw/audio/wm8750: move WM8750 declarations from i2c/i2c.h to audio/wm8750.h 2018-02-02 08:19:25 +01:00
milkymist-ac97.c
pcspk.c misc: remove old i386 dependency 2017-12-18 17:07:02 +03:00
pl041.c
pl041.h
pl041.hx
sb16.c hw/audio: Fix crashes when devices are used on ISA bus without DMA 2018-03-26 14:37:13 +02:00
soundhw.c
trace-events audio/hda: detect output buffer overruns 2018-06-25 13:57:57 +02:00
wm8750.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00