void cursor_channel_client_migrate(CursorChannelClient* client) { RedChannelClient *rcc; spice_return_if_fail(client); rcc = RED_CHANNEL_CLIENT(client); red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE); red_channel_client_default_migrate(rcc); }
void cursor_channel_init(CursorChannel *cursor, CursorChannelClient *client) { spice_return_if_fail(cursor); if (!red_channel_is_connected(&cursor->common.base) || COMMON_CHANNEL(cursor)->during_target_migrate) { spice_debug("during_target_migrate: skip init"); return; } if (client) red_channel_client_pipe_add_type(RED_CHANNEL_CLIENT(client), PIPE_ITEM_TYPE_CURSOR_INIT); else red_channel_pipes_add_type(RED_CHANNEL(cursor), PIPE_ITEM_TYPE_CURSOR_INIT); }
static int spicevmc_channel_client_handle_migrate_flush_mark(RedChannelClient *rcc) { red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_SPICEVMC_MIGRATE_DATA); return TRUE; }
static int smartcard_channel_client_handle_migrate_flush_mark(RedChannelClient *rcc) { red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_SMARTCARD_MIGRATE_DATA); return TRUE; }