audio: Never send migration section
commitda77adbaf619c4d170cb42d769145ad1803fbad9
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 9 Aug 2021 17:09:56 +0000 (9 18:09 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Aug 2021 08:55:57 +0000 (10 10:55 +0200)
treeb6b12ebf9481bb36acbcd20e04f695ed2d0b276e
parent7bce330ae4040860ddb5ce66dc7999f16577855c
audio: Never send migration section

The audio migration vmstate is empty, and always has been; we can't
just remove it though because an old qemu might send it us.
Changes with -audiodev now mean it's sometimes created when it didn't
used to be, and can confuse migration to old qemu.

Change it so that vmstate_audio is never sent; if it's received it
should still be accepted, and old qemu's shouldn't be too upset if it's
missing.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210809170956.78536-1-dgilbert@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c