summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename red_worker.[ch] to red-worker.[ch]Jonathon Jongsma2015-02-2310-10/+10
|
* Rename lz4_encoder.[ch] to lz4-encoder.[ch]Jonathon Jongsma2015-02-234-4/+4
|
* Rename red_dispatcher.[ch] to red-dispatcher.[ch]Jonathon Jongsma2015-02-238-8/+8
|
* Rename red_channel.[ch] to red-channel.[ch]Jonathon Jongsma2015-02-2319-19/+19
|
* Move RedsMigSpice to main-channel.hJonathon Jongsma2015-02-232-8/+8
| | | | | This is the place that needs the complete type definition. If it is defined in reds.h, it can create circular references.
* PALLET -> PALETTEJonathon Jongsma2015-02-235-7/+7
| | | | Use the correct spelling for the enumeration
* Don't abort if an item isn't handled.Jonathon Jongsma2015-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use spice_warning() instead of spice_critical() since the latter will cause the entire qemu session to abort. (/usr/bin/qemu-kvm:24458): Spice-Warning **: ../../server/dcc-send.c:2442:dcc_send_item: should not be reached (/usr/bin/qemu-kvm:24458): Spice-CRITICAL **: ../../server/dcc.c:1595:release_item_before_push: invalid item type Thread 4 (Thread 0x7fcac941f700 (LWP 24459)): #0 0x00007fcae12347f0 in sem_timedwait () at ../sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101 #1 0x00007fcae2d0f887 in qemu_sem_timedwait () #2 0x00007fcae2cba7dc in worker_thread () #3 0x00007fcae122d52a in start_thread (arg=0x7fcac941f700) at pthread_create.c:310 #4 0x00007fcad7af577d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fcac8a3c700 (LWP 24460)): #0 0x00007fcad7aeb957 in ioctl () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fcae2a89215 in kvm_vcpu_ioctl () #2 0x00007fcae2a892cc in kvm_cpu_exec () #3 0x00007fcae2a77cb2 in qemu_kvm_cpu_thread_fn () #4 0x00007fcae122d52a in start_thread (arg=0x7fcac8a3c700) at pthread_create.c:310 #5 0x00007fcad7af577d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fcac3bff700 (LWP 24461)): #0 0x00007fcae12351cd in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fcae24b20e9 in spice_backtrace_gstack () at ../../../spice-common/common/backtrace.c:99 #2 0x00007fcae24b2209 in spice_backtrace () at ../../../spice-common/common/backtrace.c:130 #3 0x00007fcae24b97e6 in spice_logv (log_domain=0x7fcae252d9fe "Spice", log_level=SPICE_LOG_LEVEL_CRITICAL, strloc=0x7fcae253ff9e "../../server/dcc.c:1595", function=0x7fcae2540040 <__FUNCTION__.31779> "release_item_before_push", format=0x7fcae25384e2 "invalid item type", args=args@entry=0x7fcac3bfe648) at ../../../spice-common/common/log.c:108 #4 0x00007fcae24b9918 in spice_log (log_domain=<optimized out>, log_level=<optimized out>, strloc=<optimized out>, function=<optimized out>, format=<optimized out>) at ../../../spice-common/common/log.c:123 #5 0x00007fcae24a5835 in dcc_send_item (dcc=<optimized out>, pipe_item=<optimized out>) at ../../server/dcc-send.c:2445 #6 0x00007fcae2466450 in red_channel_client_push (item=<optimized out>, rcc=0x7fcaa80458a0) at ../../server/red_channel.c:596 #7 0x00007fcae2466450 in red_channel_client_push (rcc=rcc@entry=0x7fcaa80458a0) at ../../server/red_channel.c:1358 #8 0x00007fcae2466f2f in red_channel_client_handle_message (rcc=0x7fcaa80458a0) at ../../server/red_channel.c:1575 #9 0x00007fcae2466f2f in red_channel_client_handle_message (rcc=0x7fcaa80458a0, size=<optimized out>, type=<optimized out>, message=0x7fcaa8737100) at ../../server/red_channel.c:1552 #10 0x00007fcae24640b5 in red_channel_client_receive (handler=0x7fcaa80499b0, stream=0x7fcae39cda60) at ../../server/red_channel.c:304 #11 0x00007fcae24640b5 in red_channel_client_receive (rcc=rcc@entry=0x7fcaa80458a0) at ../../server/red_channel.c:326 #12 0x00007fcae246689c in red_channel_client_event (fd=<optimized out>, event=1, data=0x7fcaa80458a0) at ../../server/red_channel.c:1584 #13 0x00007fcae24774ec in watch_func (source=<optimized out>, condition=<optimized out>, data=0x7fcaa8016090) at ../../server/red_worker.c:619 #14 0x00007fcae0b30aeb in g_main_context_dispatch (context=0x7fcae3996e60) at gmain.c:3111 #15 0x00007fcae0b30aeb in g_main_context_dispatch (context=context@entry=0x7fcae3996e60) at gmain.c:3710 #16 0x00007fcae0b30e88 in g_main_context_iterate (context=0x7fcae3996e60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781 #17 0x00007fcae0b311b2 in g_main_loop_run (loop=0x7fcaa80008c0) at gmain.c:3975 #18 0x00007fcae24773c3 in red_worker_main (arg=<optimized out>) at ../../server/red_worker.c:1756 #19 0x00007fcae122d52a in start_thread (arg=0x7fcac3bff700) at pthread_create.c:310 #20 0x00007fcad7af577d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fcae28f7a80 (LWP 24458)): #0 0x00007fcad7aea2a1 in __GI_ppoll (fds=0x7fcae39d10a0, nfds=7, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 #1 0x00007fcae2cc770c in qemu_poll_ns () #2 0x00007fcae2cc6eb4 in main_loop_wait () #3 0x00007fcae2a505dd in main () Aborted (core dumped)
* tests: test_display_base: use a faster wakeup time to easily test multiple ↵Alon Levy2015-02-231-1/+1
| | | | client blocking
* server: multiple clients works ok if we limit the pipe to the slowest clientAlon Levy2015-02-232-5/+5
|
* red_channel: cleanup of red_channel_client blocking methodsYonit Halperin2015-02-234-5/+9
| | | | | | (1) receive timeout as a parameter. (2) add a return value and pass the handling of failures to the calling routine.
* red_worker: cleanup red_clear_surface_drawables_from_pipesYonit Halperin2015-02-231-1/+2
| | | | | | (1) merge 'force' and 'wait_for_outgoing_item' to one parameter. 'wait_for_outgoing_item' is a derivative of 'force'. (2) move the call to red_wait_outgoing_item to red_clear_surface_drawables_from_pipe
* worker: make it clear it returns from process when no cmdMarc-André Lureau2015-02-231-4/+4
|
* worker: rename process_commands process_displayMarc-André Lureau2015-02-231-36/+36
|
* worker: remove useless QXL_CMD_MESSAGEMarc-André Lureau2015-02-233-48/+0
| | | | | | Unsecure code shouldn't be compiled in even in debug mode. Doesn't seem to be used, and probably should be handled at qemu qxl driver level instead.
* worker: merge handle_new_display_channelMarc-André Lureau2015-02-231-30/+13
|
* display: add update_compression() methodMarc-André Lureau2015-02-233-17/+23
|
* worker: move red_process_surfaceMarc-André Lureau2015-02-233-45/+50
|
* worker: move red_record_commandMarc-André Lureau2015-02-233-42/+29
|
* worker: move red_record_eventMarc-André Lureau2015-02-233-17/+17
|
* misc cleanupsMarc-André Lureau2015-02-234-18/+14
|
* worker: count in drawable_new()Marc-André Lureau2015-02-231-4/+4
|
* worker: remove some unnecessary inlineMarc-André Lureau2015-02-232-9/+9
|
* display: remove some public declarationsMarc-André Lureau2015-02-232-5/+4
|
* display: rename detach_streams_behindMarc-André Lureau2015-02-234-8/+10
|
* display: fix generate_uid nameMarc-André Lureau2015-02-233-4/+3
|
* worker: move red_pipes_remove_drawableMarc-André Lureau2015-02-233-19/+18
|
* worker: move current_remove*Marc-André Lureau2015-02-235-83/+82
|
* worker: move more stream functionsMarc-André Lureau2015-02-235-174/+179
|
* server: rename filesMarc-André Lureau2015-02-2376-521/+430
|
* server: rename _tmpl filesMarc-André Lureau2015-02-239-16/+16
|
* server: rename red_common->commonMarc-André Lureau2015-02-2321-22/+22
|
* Remove use of INLINEAlon Levy2015-02-235-20/+18
| | | | It's #define'd to 'inline', and only used in the GLZ encoder.
* server: remove useless includesMarc-André Lureau2015-02-231-2/+1
|
* server: move enum and struct away from red_commonMarc-André Lureau2015-02-235-26/+37
|
* server: cleanupsMarc-André Lureau2015-02-235-48/+34
|
* worker: move dcc_send & marshallers to dcc_send.cMarc-André Lureau2015-02-235-2461/+2467
|
* worker: remove unused fill_rects_clipMarc-André Lureau2015-02-231-10/+0
|
* worker: remove redundant checkMarc-André Lureau2015-02-231-4/+0
| | | | The check is done in draw()
* display: move more logic in add_drawable()Marc-André Lureau2015-02-233-215/+208
|
* worker: move display_channel_updateMarc-André Lureau2015-02-233-39/+45
|
* display: simplify create_canvas_for_surfaceMarc-André Lureau2015-02-231-28/+17
|
* worker: move display_channel_create_surfaceMarc-André Lureau2015-02-233-118/+103
|
* worker: move destroy_surface() famillyMarc-André Lureau2015-02-235-167/+172
|
* server/inputs_channel: fix test_display_no_ssl segfault on client disconnect ↵Alon Levy2015-02-231-1/+6
| | | | when keyboard never initialized
* worker: move display_channel_newMarc-André Lureau2015-02-236-199/+215
|
* display: reuse code in display_channel_draw_untilMarc-André Lureau2015-02-233-35/+16
|
* display: factor out current_find_intersects_rectMarc-André Lureau2015-02-231-21/+30
|
* display: factor out draw_untilMarc-André Lureau2015-02-231-38/+32
|
* worker: move display_channel_drawMarc-André Lureau2015-02-232-154/+155
|
* worker: s/validate_area/surface_update_destMarc-André Lureau2015-02-231-19/+16
|