aboutsummaryrefslogtreecommitdiff
path: root/hw/audio
diff options
context:
space:
mode:
authorVolker Rümelin <vr_qemu@t-online.de>2023-12-04 08:28:37 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-12-04 12:04:36 +0400
commit551ef0fa05c11abd62f4607ee3cddbcb7dea6b66 (patch)
treed1dc6c1846b32f9f46b43fb1060329fa24f10407 /hw/audio
parentebfbf394671163c14e2b24d98f3927a3151d1aff (diff)
downloadqemu-551ef0fa05c11abd62f4607ee3cddbcb7dea6b66.zip
qemu-551ef0fa05c11abd62f4607ee3cddbcb7dea6b66.tar.gz
qemu-551ef0fa05c11abd62f4607ee3cddbcb7dea6b66.tar.bz2
hw/audio/virtio-sound: mark the device as unmigratable
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>
Diffstat (limited to 'hw/audio')
-rw-r--r--hw/audio/virtio-snd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c
index 2fe966e..b10fad1 100644
--- a/hw/audio/virtio-snd.c
+++ b/hw/audio/virtio-snd.c
@@ -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[]) {