Revision be733d6d spice-qemu-char.c

b/spice-qemu-char.c
222 222
    }
223 223
}
224 224

  
225
static void spice_chr_fe_event(struct CharDriverState *chr, int event)
226
{
227
#if SPICE_SERVER_VERSION >= 0x000c02
228
    SpiceCharDriver *s = chr->opaque;
229

  
230
    spice_server_port_event(&s->sin, event);
231
#endif
232
}
233

  
225 234
static void print_allowed_subtypes(void)
226 235
{
227 236
    const char** psubtype;
......
255 264
    chr->chr_close = spice_chr_close;
256 265
    chr->chr_set_fe_open = spice_chr_set_fe_open;
257 266
    chr->explicit_be_open = true;
267
    chr->chr_fe_event = spice_chr_fe_event;
258 268

  
259 269
    QLIST_INSERT_HEAD(&spice_chars, s, next);
260 270

  

Also available in: Unified diff