Skip to content

Commit

Permalink
hw/audio/virtio-sound: mark the device as unmigratable
Browse files Browse the repository at this point in the history
The virtio-sound device is currently not migratable. QEMU crashes
on the source machine at some point during the migration with a
segmentation fault.

Even with this bug fixed, the virtio-sound device doesn't migrate
the state of the audio streams. For example, running streams leave
the device on the destination machine in a broken condition.

Mark the device as unmigratable until these issues have been fixed.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20231204072837.6058-1-vr_qemu@t-online.de>
  • Loading branch information
Volker Rümelin authored and elmarco committed Dec 4, 2023
1 parent ebfbf39 commit 551ef0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/audio/virtio-snd.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ static const VMStateDescription vmstate_virtio_snd_device = {

static const VMStateDescription vmstate_virtio_snd = {
.name = TYPE_VIRTIO_SND,
.unmigratable = 1,
.minimum_version_id = VIRTIO_SOUND_VM_VERSION,
.version_id = VIRTIO_SOUND_VM_VERSION,
.fields = (VMStateField[]) {
Expand Down

0 comments on commit 551ef0f

Please sign in to comment.