Hi
On Wed, Mar 11, 2026 at 3:57 AM Roman Kiryanov <rkir@google.com> wrote:
>
> I am currently working on adding snapshot support for the virtio-snd
> device. While implementing the VMStateDescription, I noticed that the
> device currently retains more internal state than is strictly necessary,
> including unused fields and full transport-specific layouts.
>
> This patch series cleans up the internal PCM state to reduce the overall
> allocation footprint and simplify the upcoming snapshotting and migration
> handling code.
>
> Roman Kiryanov (3):
> virtio-snd: remove the unused field
> virtio-snd: remove virtio_snd_pcm_set_params from VirtIOSoundPCMStream
> virtio-snd: introduce VirtIOPcmParams
>
> hw/audio/virtio-snd.c | 21 +++++++++------------
> include/hw/audio/virtio-snd.h | 17 +++++++++++++----
> 2 files changed, 22 insertions(+), 16 deletions(-)
For the series:
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
--
Marc-André Lureau