Skip to content

virtio-snd: snapshot prep cleanups

Roman Kiryanov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio-snd: remove the unused fieldhw/audio/virtio-snd.c include/hw/audio/virtio-snd.h+0 -50 replies
2/3virtio-snd: remove virtio_snd_pcm_set_params from VirtIOSoundPCMStreamhw/audio/virtio-snd.c include/hw/audio/virtio-snd.h+4 -40 replies
3/3virtio-snd: introduce VirtIOPcmParamshw/audio/virtio-snd.c include/hw/audio/virtio-snd.h+18 -70 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc-André Lureau
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] virtio-snd: snapshot prep cleanups

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(-)
Signature · 1 line
2.53.0.473.g4a7958ca14-goog