static void interface_get_init_info(QXLInstance *sin, QXLDevInitInfo *info)

{

    SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl);



    info->memslot_gen_bits = MEMSLOT_GENERATION_BITS;

    info->memslot_id_bits  = MEMSLOT_SLOT_BITS;

    info->num_memslots = NUM_MEMSLOTS;

    info->num_memslots_groups = NUM_MEMSLOTS_GROUPS;

    info->internal_groupslot_id = 0;

    info->qxl_ram_size = ssd->bufsize;

    info->n_surfaces = ssd->num_surfaces;

}
