[Spice-devel] [PATCH spice-server 2/6] red-qxl: Move QXLInterface wrappers together
Christophe Fergeau
cfergeau at redhat.com
Thu Sep 7 14:48:54 UTC 2017
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
On Thu, Sep 07, 2017 at 12:40:22PM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list