[Spice-devel] [PATCH v3 1/2] virtio-video: Add virtio video device specification
Dmitry Sepp
dmitry.sepp at opensynergy.com
Tue Apr 7 14:49:02 UTC 2020
Hi,
> +\item[VIRTIO_VIDEO_CMD_STREAM_DESTROY] Destroy a video stream
> + (context) within the device.
> +
> +\begin{lstlisting}
> +struct virtio_video_stream_destroy {
> + struct virtio_video_cmd_hdr hdr;
> +};
> +\end{lstlisting}
Let's add more strict description to stream_destroy, like as follows:
Device MUST NOT generate any events for the stream in question after receiving
the command. Before completing the command, Device MUST ensure that all
asynchronous commands that are related to the stream have been completed and
all memory objects are unreferenced.
Best regards,
Dmitry.
More information about the Spice-devel
mailing list