From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Volker Rümelin" <vr_qemu@t-online.de>
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
qemu-devel@nongnu.org
Subject: Re: [PATCH for 8.2] hw/audio/virtio-sound: mark the device as unmigratable
Date: Mon, 4 Dec 2023 03:20:53 -0500 [thread overview]
Message-ID: <20231204032047-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20231204072837.6058-1-vr_qemu@t-online.de>
On Mon, Dec 04, 2023 at 08:28:37AM +0100, Volker Rümelin wrote:
> 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>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> hw/audio/virtio-snd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c
> index 2fe966e311..b10fad1228 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[]) {
> --
> 2.35.3
prev parent reply other threads:[~2023-12-04 8:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 7:28 [PATCH for 8.2] hw/audio/virtio-sound: mark the device as unmigratable Volker Rümelin
2023-12-04 7:52 ` Volker Rümelin
2023-12-04 8:03 ` Marc-André Lureau
2023-12-04 8:07 ` Manos Pitsidianakis
2023-12-04 8:20 ` Michael S. Tsirkin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231204032047-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=kraxel@redhat.com \
--cc=manos.pitsidianakis@linaro.org \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=vr_qemu@t-online.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).