void qemu_spice_display_init_common(SimpleSpiceDisplay *ssd)

{

    qemu_mutex_init(&ssd->lock);

    QTAILQ_INIT(&ssd->updates);

    ssd->mouse_x = -1;

    ssd->mouse_y = -1;

    if (ssd->num_surfaces == 0) {

        ssd->num_surfaces = 1024;

    }

    ssd->bufsize = (16 * 1024 * 1024);

    ssd->buf = g_malloc(ssd->bufsize);

}

void qemu_spice_display_init_common(SimpleSpiceDisplay *ssd)

{

    qemu_mutex_init(&ssd->lock);

    QTAILQ_INIT(&ssd->updates);

    ssd->mouse_x = -1;

    ssd->mouse_y = -1;

    if (ssd->num_surfaces == 0) {

        ssd->num_surfaces = 1024;

    }

    ssd->bufsize = (16 * 1024 * 1024);

    ssd->buf = g_malloc(ssd->bufsize);

}

    ssd->bufsize = (16 * 1024 * 1024);     ssd->buf = g_malloc(ssd->bufsize);
void FUNC_0(SimpleSpiceDisplay *VAR_0)

{

    qemu_mutex_init(&VAR_0->lock);

    QTAILQ_INIT(&VAR_0->updates);

    VAR_0->mouse_x = -1;

    VAR_0->mouse_y = -1;

    if (VAR_0->num_surfaces == 0) {

        VAR_0->num_surfaces = 1024;

    }

    VAR_0->bufsize = (16 * 1024 * 1024);

    VAR_0->buf = g_malloc(VAR_0->bufsize);

}

void FUNC_0(SimpleSpiceDisplay *VAR_0)
{ qemu_mutex_init(&VAR_0->lock); QTAILQ_INIT(&VAR_0->updates); VAR_0->mouse_x = -1; VAR_0->mouse_y = -1; if (VAR_0->num_surfaces == 0) { VAR_0->num_surfaces = 1024; } VAR_0->bufsize = (16 * 1024 * 1024); VAR_0->buf = g_malloc(VAR_0->bufsize); }