Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename red_worker.[ch] to red-worker.[ch] | Jonathon Jongsma | 2015-02-23 | 10 | -10/+10 | |
| | ||||||
* | Rename lz4_encoder.[ch] to lz4-encoder.[ch] | Jonathon Jongsma | 2015-02-23 | 4 | -4/+4 | |
| | ||||||
* | Rename red_dispatcher.[ch] to red-dispatcher.[ch] | Jonathon Jongsma | 2015-02-23 | 8 | -8/+8 | |
| | ||||||
* | Rename red_channel.[ch] to red-channel.[ch] | Jonathon Jongsma | 2015-02-23 | 19 | -19/+19 | |
| | ||||||
* | Move RedsMigSpice to main-channel.h | Jonathon Jongsma | 2015-02-23 | 2 | -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 -> PALETTE | Jonathon Jongsma | 2015-02-23 | 5 | -7/+7 | |
| | | | | Use the correct spelling for the enumeration | |||||
* | Don't abort if an item isn't handled. | Jonathon Jongsma | 2015-02-23 | 1 | -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 Levy | 2015-02-23 | 1 | -1/+1 | |
| | | | | client blocking | |||||
* | server: multiple clients works ok if we limit the pipe to the slowest client | Alon Levy | 2015-02-23 | 2 | -5/+5 | |
| | ||||||
* | red_channel: cleanup of red_channel_client blocking methods | Yonit Halperin | 2015-02-23 | 4 | -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_pipes | Yonit Halperin | 2015-02-23 | 1 | -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 cmd | Marc-André Lureau | 2015-02-23 | 1 | -4/+4 | |
| | ||||||
* | worker: rename process_commands process_display | Marc-André Lureau | 2015-02-23 | 1 | -36/+36 | |
| | ||||||
* | worker: remove useless QXL_CMD_MESSAGE | Marc-André Lureau | 2015-02-23 | 3 | -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_channel | Marc-André Lureau | 2015-02-23 | 1 | -30/+13 | |
| | ||||||
* | display: add update_compression() method | Marc-André Lureau | 2015-02-23 | 3 | -17/+23 | |
| | ||||||
* | worker: move red_process_surface | Marc-André Lureau | 2015-02-23 | 3 | -45/+50 | |
| | ||||||
* | worker: move red_record_command | Marc-André Lureau | 2015-02-23 | 3 | -42/+29 | |
| | ||||||
* | worker: move red_record_event | Marc-André Lureau | 2015-02-23 | 3 | -17/+17 | |
| | ||||||
* | misc cleanups | Marc-André Lureau | 2015-02-23 | 4 | -18/+14 | |
| | ||||||
* | worker: count in drawable_new() | Marc-André Lureau | 2015-02-23 | 1 | -4/+4 | |
| | ||||||
* | worker: remove some unnecessary inline | Marc-André Lureau | 2015-02-23 | 2 | -9/+9 | |
| | ||||||
* | display: remove some public declarations | Marc-André Lureau | 2015-02-23 | 2 | -5/+4 | |
| | ||||||
* | display: rename detach_streams_behind | Marc-André Lureau | 2015-02-23 | 4 | -8/+10 | |
| | ||||||
* | display: fix generate_uid name | Marc-André Lureau | 2015-02-23 | 3 | -4/+3 | |
| | ||||||
* | worker: move red_pipes_remove_drawable | Marc-André Lureau | 2015-02-23 | 3 | -19/+18 | |
| | ||||||
* | worker: move current_remove* | Marc-André Lureau | 2015-02-23 | 5 | -83/+82 | |
| | ||||||
* | worker: move more stream functions | Marc-André Lureau | 2015-02-23 | 5 | -174/+179 | |
| | ||||||
* | server: rename files | Marc-André Lureau | 2015-02-23 | 76 | -521/+430 | |
| | ||||||
* | server: rename _tmpl files | Marc-André Lureau | 2015-02-23 | 9 | -16/+16 | |
| | ||||||
* | server: rename red_common->common | Marc-André Lureau | 2015-02-23 | 21 | -22/+22 | |
| | ||||||
* | Remove use of INLINE | Alon Levy | 2015-02-23 | 5 | -20/+18 | |
| | | | | It's #define'd to 'inline', and only used in the GLZ encoder. | |||||
* | server: remove useless includes | Marc-André Lureau | 2015-02-23 | 1 | -2/+1 | |
| | ||||||
* | server: move enum and struct away from red_common | Marc-André Lureau | 2015-02-23 | 5 | -26/+37 | |
| | ||||||
* | server: cleanups | Marc-André Lureau | 2015-02-23 | 5 | -48/+34 | |
| | ||||||
* | worker: move dcc_send & marshallers to dcc_send.c | Marc-André Lureau | 2015-02-23 | 5 | -2461/+2467 | |
| | ||||||
* | worker: remove unused fill_rects_clip | Marc-André Lureau | 2015-02-23 | 1 | -10/+0 | |
| | ||||||
* | worker: remove redundant check | Marc-André Lureau | 2015-02-23 | 1 | -4/+0 | |
| | | | | The check is done in draw() | |||||
* | display: move more logic in add_drawable() | Marc-André Lureau | 2015-02-23 | 3 | -215/+208 | |
| | ||||||
* | worker: move display_channel_update | Marc-André Lureau | 2015-02-23 | 3 | -39/+45 | |
| | ||||||
* | display: simplify create_canvas_for_surface | Marc-André Lureau | 2015-02-23 | 1 | -28/+17 | |
| | ||||||
* | worker: move display_channel_create_surface | Marc-André Lureau | 2015-02-23 | 3 | -118/+103 | |
| | ||||||
* | worker: move destroy_surface() familly | Marc-André Lureau | 2015-02-23 | 5 | -167/+172 | |
| | ||||||
* | server/inputs_channel: fix test_display_no_ssl segfault on client disconnect ↵ | Alon Levy | 2015-02-23 | 1 | -1/+6 | |
| | | | | when keyboard never initialized | |||||
* | worker: move display_channel_new | Marc-André Lureau | 2015-02-23 | 6 | -199/+215 | |
| | ||||||
* | display: reuse code in display_channel_draw_until | Marc-André Lureau | 2015-02-23 | 3 | -35/+16 | |
| | ||||||
* | display: factor out current_find_intersects_rect | Marc-André Lureau | 2015-02-23 | 1 | -21/+30 | |
| | ||||||
* | display: factor out draw_until | Marc-André Lureau | 2015-02-23 | 1 | -38/+32 | |
| | ||||||
* | worker: move display_channel_draw | Marc-André Lureau | 2015-02-23 | 2 | -154/+155 | |
| | ||||||
* | worker: s/validate_area/surface_update_dest | Marc-André Lureau | 2015-02-23 | 1 | -19/+16 | |
| |