[Spice-devel] [PATCH spice-server] replay: Update comment

Jonathon Jongsma jjongsma at redhat.com
Fri Nov 11 20:14:21 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Fri, 2016-11-11 at 12:06 +0000, Frediano Ziglio wrote:
> Function just return the command, has no ext_cmd parameter to fill.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/red-replay-qxl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/red-replay-qxl.c b/server/red-replay-qxl.c
> index 3dd1517..e531114 100644
> --- a/server/red-replay-qxl.c
> +++ b/server/red-replay-qxl.c
> @@ -1417,8 +1417,8 @@ replay_handle_audio(SpiceReplay *replay, int
> type, uint64_t timestamp)
>  
>  /*
>   * NOTE: This reads from a saved file and performs all io actions,
> calling the
> - * dispatcher, until it sees a command, at which point it returns it
> via the
> - * last parameter [ext_cmd]. Hence you cannot call this from the
> worker thread
> + * dispatcher, until it sees a command, at which point it returns
> it.
> + * Hence you cannot call this from the worker thread
>   * since it will block reading from the dispatcher pipe.
>   */
>  SPICE_GNUC_VISIBLE QXLCommandExt* spice_replay_next_cmd(SpiceReplay
> *replay,


More information about the Spice-devel mailing list