Re: [virtio-dev][PATCH 2/2] virtio-spi: add the device specification

2023-07-19 Thread Haixu Cui
Hi Jonathon Reinhart, Thank you very much for your guidance. It is indeed an excellent idea to combine the parameters which take effect at the same phase. So the front-end & back-end interface updated as follows: struct spi_transfer_head { u8 slave_id; u8

[virtio-dev] virtio-snd and snapshots (e.g. in QEMU) when audio is active

2023-07-19 Thread Roman Kiryanov
Hi, I work in Android Studio Emulator and we use virtio-snd (implemented ourselves) for audio output/input. According to the spec (1.2), the device has one TX virtqueue for all output streams and one RX virtqueue for all input streams. Each stream may and usually have more than one period (I

[virtio-dev] Re: [VIRTIO GPU PATCH v2 1/1] virtio-gpu: Add new feature flag VIRTIO_GPU_F_FREEZING

2023-07-19 Thread Gerd Hoffmann
> +\begin{lstlisting} > +struct virtio_gpu_status_freezing { > + struct virtio_gpu_ctrl_hdr hdr; > + __u32 freezing; > +}; > +\end{lstlisting} > +This is added for S3 function in guest with virtio-gpu. When guest does > +S3, let it notify QEMU if virtio-gpu is in freezing status or not in >