Re: [PATCH v2 07/11] hw/audio/virtio-sound: add stream state variable

2024-03-12 Thread Michael S. Tsirkin
On Mon, Feb 19, 2024 at 02:59:45PM +0200, Manos Pitsidianakis wrote: > Hello Volker, > > On Sun, 18 Feb 2024 at 10:34, Volker Rümelin wrote: > > > > So far, only rudimentary checks have been made to ensure that > > the guest only performs state transitions permitted in > > virtio-v1.2-csd01 5.14.

Re: [PATCH v2 07/11] hw/audio/virtio-sound: add stream state variable

2024-02-19 Thread Michael S. Tsirkin
On Mon, Feb 19, 2024 at 02:59:45PM +0200, Manos Pitsidianakis wrote: > Hello Volker, > > On Sun, 18 Feb 2024 at 10:34, Volker Rümelin wrote: > > > > So far, only rudimentary checks have been made to ensure that > > the guest only performs state transitions permitted in > > virtio-v1.2-csd01 5.14.

Re: [PATCH v2 07/11] hw/audio/virtio-sound: add stream state variable

2024-02-19 Thread Manos Pitsidianakis
Hello Volker, On Sun, 18 Feb 2024 at 10:34, Volker Rümelin wrote: > > So far, only rudimentary checks have been made to ensure that > the guest only performs state transitions permitted in > virtio-v1.2-csd01 5.14.6.6.1 PCM Command Lifecycle. 5.14.6.6.1 is non-normative in virtio v1.2. You can e

[PATCH v2 07/11] hw/audio/virtio-sound: add stream state variable

2024-02-18 Thread Volker Rümelin
So far, only rudimentary checks have been made to ensure that the guest only performs state transitions permitted in virtio-v1.2-csd01 5.14.6.6.1 PCM Command Lifecycle. Add a state variable per audio stream and check all state transitions. Because only permitted state transitions are possible, onl