• Christophe Fergeau's avatar
    xspice: Don't create Xorg time in timer_add · edd1a409
    Christophe Fergeau authored
    SpiceCoreInterface::timer_add() is used by spice-server for integration
    with external mainloops. timer_add() is only meant to create a disabled
    timer, this timer will then be started with a call to timer_start().
    
    The current implementation in Xspice creates a timer which will trigger
    in a very long time, assuming this will never happen. This 'forever' is
    1,000,000 seconds, which amounts to 11 days. After that time, some
    timers which are meant to be disabled (eg migration related timers in
    spice-server) fire, then causing a crash with some failed assertions.
    
    Instead of creating the X timer right away in timer_add(), we can wait
    until timer_start() is called before starting it, which avoids this
    issue.
    edd1a409
Name
Last commit
Last update
..
spiceccid Loading commit data...
uxa Loading commit data...
Makefile.am Loading commit data...
compat-api.h Loading commit data...
dfps.c Loading commit data...
dfps.h Loading commit data...
mspace.c Loading commit data...
mspace.h Loading commit data...
murmurhash3.c Loading commit data...
murmurhash3.h Loading commit data...
qxl.h Loading commit data...
qxl_cursor.c Loading commit data...
qxl_driver.c Loading commit data...
qxl_drmmode.c Loading commit data...
qxl_drmmode.h Loading commit data...
qxl_image.c Loading commit data...
qxl_io.c Loading commit data...
qxl_kms.c Loading commit data...
qxl_mem.c Loading commit data...
qxl_option_helpers.c Loading commit data...
qxl_option_helpers.h Loading commit data...
qxl_ring.c Loading commit data...
qxl_surface.c Loading commit data...
qxl_surface.h Loading commit data...
qxl_surface_ums.c Loading commit data...
qxl_ums_mode.c Loading commit data...
qxl_uxa.c Loading commit data...
spiceqxl_audio.c Loading commit data...
spiceqxl_audio.h Loading commit data...
spiceqxl_display.c Loading commit data...
spiceqxl_display.h Loading commit data...
spiceqxl_driver.c Loading commit data...
spiceqxl_driver.h Loading commit data...
spiceqxl_inputs.c Loading commit data...
spiceqxl_inputs.h Loading commit data...
spiceqxl_io_port.c Loading commit data...
spiceqxl_io_port.h Loading commit data...
spiceqxl_main_loop.c Loading commit data...
spiceqxl_main_loop.h Loading commit data...
spiceqxl_smartcard.c Loading commit data...
spiceqxl_smartcard.h Loading commit data...
spiceqxl_spice_server.c Loading commit data...
spiceqxl_spice_server.h Loading commit data...
spiceqxl_uinput.c Loading commit data...
spiceqxl_uinput.h Loading commit data...
spiceqxl_util.c Loading commit data...
spiceqxl_util.h Loading commit data...
spiceqxl_vdagent.c Loading commit data...
spiceqxl_vdagent.h Loading commit data...