Re: [PATCH spice-server 2/6] red-qxl: Move QXLInterface wrappers together

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

On Thu, Sep 07, 2017 at 12:40:22PM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  server/red-qxl.c | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/server/red-qxl.c b/server/red-qxl.c
> index 54d642ad9..bec063c17 100644
> --- a/server/red-qxl.c
> +++ b/server/red-qxl.c
> @@ -638,18 +638,6 @@ static void qxl_worker_loadvm_commands(QXLWorker *qxl_worker,
>      red_qxl_loadvm_commands(qxl_state, ext, count);
>  }
>  
> -void red_qxl_attach_worker(QXLInstance *qxl)
> -{
> -    QXLInterface *interface = qxl_get_interface(qxl);
> -    interface->attache_worker(qxl, &qxl->st->qxl_worker);
> -}
> -
> -void red_qxl_set_compression_level(QXLInstance *qxl, int level)
> -{
> -    QXLInterface *interface = qxl_get_interface(qxl);
> -    interface->set_compression_level(qxl, level);
> -}
> -
>  uint32_t red_qxl_get_ram_size(QXLInstance *qxl)
>  {
>      QXLDevInitInfo qxl_info;
> @@ -1073,6 +1061,18 @@ RedsState* red_qxl_get_server(QXLState *qxl_state)
>      return qxl_state->reds;
>  }
>  
> +void red_qxl_attach_worker(QXLInstance *qxl)
> +{
> +    QXLInterface *interface = qxl_get_interface(qxl);
> +    interface->attache_worker(qxl, &qxl->st->qxl_worker);
> +}
> +
> +void red_qxl_set_compression_level(QXLInstance *qxl, int level)
> +{
> +    QXLInterface *interface = qxl_get_interface(qxl);
> +    interface->set_compression_level(qxl, level);
> +}
> +
>  void red_qxl_get_init_info(QXLInstance *qxl, QXLDevInitInfo *info)
>  {
>      QXLInterface *interface = qxl_get_interface(qxl);
> -- 
> 2.13.5
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]