]> Git Repo - qemu.git/commit - hw/audio/hda-codec.c
audio/hda: Fix migration
authorDr. David Alan Gilbert <[email protected]>
Tue, 24 Jul 2018 10:22:15 +0000 (11:22 +0100)
committerDr. David Alan Gilbert <[email protected]>
Tue, 24 Jul 2018 16:02:02 +0000 (17:02 +0100)
commit67fa1f5700248fc66d5b1526c268737e29892b86
treec9904a5ce91de29b733afa6fd918b41b14922e83
parent57225e5f32bb051c9eb03758647963aeb72cebbf
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: 280c1e1cdb24d80ecdfc
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Message-Id: <20180724102215[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
hw/audio/hda-codec.c
This page took 0.024193 seconds and 4 git commands to generate.