diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-06 13:35:19 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:13:12 +0300 |
commit | 26027036c05cac96e2648ee146d63ba83af2d35e (patch) | |
tree | b3773c51bfebf9661d9c6d3604565b9ef5ff7904 /server/red_worker.c | |
parent | 934fb14ccc731689369c55ead8125a590c0c4343 (diff) | |
download | spice-26027036c05cac96e2648ee146d63ba83af2d35e.tar.gz spice-26027036c05cac96e2648ee146d63ba83af2d35e.tar.xz spice-26027036c05cac96e2648ee146d63ba83af2d35e.zip |
red_channel: remove unused migrate flag from RedChannel
The relevant flags reside in RedChannelClient and RedClient
Diffstat (limited to 'server/red_worker.c')
-rw-r--r-- | server/red_worker.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index 3b64e0c5..28fed603 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10076,7 +10076,7 @@ CursorChannelClient *cursor_channel_create_rcc(CommonChannel *common, return ccc; } -static RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_type, int migrate, +static RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_type, int migration_flags, channel_disconnect_proc on_disconnect, channel_send_pipe_item_proc send_item, @@ -10104,7 +10104,6 @@ static RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_t channel = red_channel_create_parser(size, &worker_core, channel_type, worker->id, - migrate, TRUE /* handle_acks */, spice_get_client_channel_parser(channel_type, NULL), handle_parsed, @@ -10265,7 +10264,7 @@ static void display_channel_create(RedWorker *worker, int migrate) spice_info("create display channel"); if (!(worker->display_channel = (DisplayChannel *)__new_channel( worker, sizeof(*display_channel), - SPICE_CHANNEL_DISPLAY, migrate, + SPICE_CHANNEL_DISPLAY, SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER, display_channel_client_on_disconnect, display_channel_send_item, @@ -10470,7 +10469,7 @@ static void cursor_channel_create(RedWorker *worker, int migrate) spice_info("create cursor channel"); worker->cursor_channel = (CursorChannel *)__new_channel( worker, sizeof(*worker->cursor_channel), - SPICE_CHANNEL_CURSOR, migrate, + SPICE_CHANNEL_CURSOR, 0, cursor_channel_client_on_disconnect, cursor_channel_send_item, |