spice/server
Pavel Grunt 6ebb2ebe2a spicevmc: Return early when instance has no device state
Same approach as in spice_server_char_device_wakeup().
Avoid segmentation fault when the webdav channel (spice port channel) is
used with the vnc display:
 #0  0x00007ffff7aab734 in spice_char_device_state_opaque_get (dev=0x0)
     at char_device.c:720
 #1  0x00007ffff7b0850c in spice_server_port_event (sin=<optimized out>, event=<optimized out>) at spicevmc.c:578
 #2  0x0000555555787ba4 in set_guest_connected (port=<optimized out>, guest_connected=1) at hw/char/virtio-console.c:89
 #3  0x0000555555678d7c in control_out (len=<optimized out>, buf=0x55555775c3a0, vser=0x5555578d1540) at /home/pgrunt/RH/qemu/hw/char/virtio-serial-bus.c:404
 #4  0x0000555555678d7c in control_out (vdev=0x5555578d1540, vq=0x555557941bc8)
     at /home/pgrunt/RH/qemu/hw/char/virtio-serial-bus.c:441
 #5  0x000055555588eb98 in aio_dispatch (ctx=0x5555562e1a50) at aio-posix.c:160
 #6  0x00005555558829ee in aio_ctx_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at async.c:226
 #7  0x00007ffff2010e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
 #8  0x000055555588d8fb in main_loop_wait () at main-loop.c:211
 #9  0x000055555588d8fb in main_loop_wait (timeout=<optimized out>)
     at main-loop.c:256
 #10 0x000055555588d8fb in main_loop_wait (nonblocking=<optimized out>)
     at main-loop.c:504
 #11 0x000055555561b664 in main () at vl.c:1891
2015-11-06 11:26:17 +01:00
..
tests Add missing license headers 2015-10-19 14:25:36 +02:00
.gitignore Update the .gitignore files for the new manual, 2015-10-16 15:48:23 -05:00
agent-msg-filter.c server: Add support for filtering out agent file-xfer msgs (rhbz#961848) 2013-06-06 16:07:30 +02:00
agent-msg-filter.h server: Add support for filtering out agent file-xfer msgs (rhbz#961848) 2013-06-06 16:07:30 +02:00
cache_item.tmpl.c server: rename red_client_cache.h to cache_item.tmpl.c 2015-10-20 14:00:25 +01:00
cache-item.h server: split cache-item.h 2015-10-23 16:32:57 +01:00
char_device.c char-device: spice_char_device_write_to_device: protect against recursion 2015-02-08 13:13:46 +02:00
char_device.h Add missing license headers 2015-10-19 14:25:36 +02:00
cursor-channel.c cursor: fix wrong logic when initializing the channel 2015-11-04 11:20:48 +00:00
cursor-channel.h server: make more of cursor private 2015-11-03 09:07:18 +00:00
demarshallers.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
dispatcher.c server: remove worker thread creation from dispatcher 2015-10-22 17:06:44 +01:00
dispatcher.h removed unused recv_core field 2015-10-23 12:08:09 +01:00
display-channel.c worker: move some compress stats to display 2015-11-06 09:35:16 +00:00
display-channel.h worker: move some compress stats to display 2015-11-06 09:35:16 +00:00
glz_encode_match_tmpl.c Remove use of INLINE 2015-08-20 17:10:49 +01:00
glz_encode_tmpl.c remove wrong statement terminator from preprocessor macro 2015-08-25 16:26:49 +01:00
glz_encoder_config.h Remove use of INLINE 2015-08-20 17:10:49 +01:00
glz_encoder_dictionary_protected.h glz: WindowImageSegment lines lines_end as void* 2015-08-20 11:09:00 +01:00
glz_encoder_dictionary.c fix spelling mistakes in comments (reseting to resetting & dummym to dummy) 2015-10-19 12:59:12 +01:00
glz_encoder_dictionary.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
glz_encoder.c Remove use of INLINE 2015-08-20 17:10:49 +01:00
glz_encoder.h syntax-check: Don't use tabs for indentation 2015-10-19 14:25:36 +02:00
inputs_channel.c server/inputs_channel: Cope with NULL keyboard in release_keys() 2015-08-12 10:28:57 +02:00
inputs_channel.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
jpeg_encoder.c mjpeg and jpeg encoder: fix alignment warnings 2015-08-20 11:22:59 +01:00
jpeg_encoder.h Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
lz4_encoder.c LZ4: Send the original format with the compressed data 2015-02-03 10:39:16 +01:00
lz4_encoder.h LZ4: Send the original format with the compressed data 2015-02-03 10:39:16 +01:00
main_channel.c Remove unused struct RedsOutItem 2015-08-11 17:24:36 +02:00
main_channel.h Move RedsMigSpice to main-channel.h 2015-08-11 17:24:36 +02:00
main_dispatcher.c Add missing license headers 2015-10-19 14:25:36 +02:00
main_dispatcher.h Add missing license headers 2015-10-19 14:25:36 +02:00
Makefile.am server: move bitmap related to spice-bitmap-utils 2015-11-03 16:32:26 +00:00
migration_protocol.h migration_protocol: use SPICE_MAGIC_CONST 2015-08-20 10:54:56 +01:00
mjpeg_encoder.c server: Hide the MJPEG encoder internals from red_worker.c 2015-10-30 15:35:47 +01:00
mjpeg_encoder.h server: Hide the MJPEG encoder internals from red_worker.c 2015-10-30 15:35:47 +01:00
pixmap-cache.c syntax-check: Add missing #include <config.h> 2015-10-19 14:25:36 +02:00
pixmap-cache.h Remove unnecessary typedef from pixmap-cache.h 2015-11-04 13:04:17 +00:00
red_bitmap_utils_tmpl.c Move red_bitmap_utils.h->tmpl.c 2015-10-29 11:27:09 +00:00
red_channel.c server: make cursor channel private 2015-11-03 09:06:55 +00:00
red_channel.h server: make more of cursor private 2015-11-03 09:07:18 +00:00
red_common.h server: move bitmap related to spice-bitmap-utils 2015-11-03 16:32:26 +00:00
red_dispatcher.c worker: remove need for WorkerInitData 2015-10-26 09:12:55 +00:00
red_dispatcher.h server: remove undefined declaration 2015-10-29 20:06:07 +00:00
red_memslots.c server: remove memslot unused functions 2013-10-01 16:23:59 +02:00
red_memslots.h server: remove memslot unused functions 2013-10-01 16:23:59 +02:00
red_parse_qxl.c server: move bitmap related to spice-bitmap-utils 2015-11-03 16:32:26 +00:00
red_parse_qxl.h Add support for QXLComposite to spice server 2012-08-24 13:44:42 -04:00
red_record_qxl.c replay: fix check for QXL_SURF_FLAG_KEEP_DATA flag 2015-08-25 10:50:18 +01:00
red_record_qxl.h server/red_{record, replay}.[ch]: introduce 2015-08-21 09:38:44 +01:00
red_replay_qxl.c replay: fix formatting string 2015-09-08 10:16:12 +01:00
red_replay_qxl.h server/red_{record, replay}.[ch]: introduce 2015-08-21 09:38:44 +01:00
red_worker.c worker: move shadow_new() and container_new() 2015-11-06 10:10:40 +00:00
red_worker.h Various changes in RedWorker and CursorChannel related to error and warning messages. 2015-11-04 10:27:09 +00:00
reds_gl_canvas.c Remove unused SPICE_CANVAS_INTERNAL 2014-12-03 18:32:04 +01:00
reds_gl_canvas.h Remove unused SPICE_CANVAS_INTERNAL 2014-12-03 18:32:04 +01:00
reds_stream.c syntax-check: Don't use tabs for indentation 2015-10-19 14:25:36 +02:00
reds_stream.h reds-stream: add reds_stream_get_family() function 2015-01-15 18:29:36 +01:00
reds_sw_canvas.c Remove unused SPICE_CANVAS_INTERNAL 2014-12-03 18:32:04 +01:00
reds_sw_canvas.h Remove unused SPICE_CANVAS_INTERNAL 2014-12-03 18:32:04 +01:00
reds-private.h Add missing license headers 2015-10-19 14:25:36 +02:00
reds.c worker: remove need for WorkerInitData 2015-10-26 09:12:55 +00:00
reds.h worker: remove need for WorkerInitData 2015-10-26 09:12:55 +00:00
smartcard.c red_channel: monitor connection latency using MSG_PING 2013-04-22 16:30:54 -04:00
smartcard.h Remove spice-experimental 2015-01-15 18:34:26 +01:00
snd_worker.c Remove unused snd_get_playback_compression() method 2015-08-11 17:24:36 +02:00
snd_worker.h Remove unused snd_get_playback_compression() method 2015-08-11 17:24:36 +02:00
spice_bitmap_utils.c Add missing license headers 2015-10-19 14:25:36 +02:00
spice_bitmap_utils.h server: move surface_format_to_image_type to spice_bitmap_utils 2013-08-14 12:08:04 +03:00
spice_image_cache.c Add missing license headers 2015-10-19 14:25:36 +02:00
spice_image_cache.h Add missing license headers 2015-10-19 14:25:36 +02:00
spice_server_utils.h Add missing license headers 2015-10-19 14:25:36 +02:00
spice_timer_queue.c spice_timer_queue: fix access after free 2015-09-03 10:25:13 +01:00
spice_timer_queue.h server: spice_timer_queue 2013-04-22 16:30:54 -04:00
spice-audio.h Split spice.h 2014-11-27 14:27:18 +01:00
spice-bitmap-utils.c server: move bitmap related to spice-bitmap-utils 2015-11-03 16:32:26 +00:00
spice-bitmap-utils.h server: move bitmap related to spice-bitmap-utils 2015-11-03 16:32:26 +00:00
spice-char.h Split spice.h 2014-11-27 14:27:18 +01:00
spice-core.h Split spice.h 2014-11-27 14:27:18 +01:00
spice-experimental.h Add missing license headers 2015-10-19 14:25:36 +02:00
spice-input.h Split spice.h 2014-11-27 14:27:18 +01:00
spice-migration.h Move spice_server_get_num_clients() declaration 2014-11-27 15:03:38 +01:00
spice-qxl.h worker: avoid to use constant directly for capabilities size 2015-10-29 17:46:27 +00:00
spice-server.h Adjust to new SpiceImageCompress name 2015-07-29 17:40:48 +02:00
spice-server.syms server/red_{record, replay}.[ch]: introduce 2015-08-21 09:38:44 +01:00
spice-version.h.in build-sys: generate spice-version.h 2014-11-27 14:27:33 +01:00
spice.h Split spice.h 2014-11-27 14:27:18 +01:00
spicevmc.c spicevmc: Return early when instance has no device state 2015-11-06 11:26:17 +01:00
stat.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
tree.c worker: move shadow_new() and container_new() 2015-11-06 10:10:40 +00:00
tree.h worker: move shadow_new() and container_new() 2015-11-06 10:10:40 +00:00
utils.h Replace now() with get_mononotonic_time() 2015-10-29 18:22:19 +00:00
zlib_encoder.c Use the spice-common logging functions 2012-03-25 19:00:00 +02:00
zlib_encoder.h applying zlib compression over glz on WAN connection 2010-06-21 15:05:37 +02:00