qemu-patch-raspberry4/ui
Markus Armbruster a6c76285f2 io vnc sockets: Clean up SocketAddressKind switches
We have quite a few switches over SocketAddressKind.  Some have case
labels for all enumeration values, others rely on a default label.
Some abort when the value isn't a valid SocketAddressKind, others
report an error then.

Unify as follows.  Always provide case labels for all enumeration
values, to clarify intent.  Abort when the value isn't a valid
SocketAddressKind, because the program state is messed up then.

Improve a few error messages while there.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1490895797-29094-4-git-send-email-armbru@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2017-04-03 17:11:39 +02:00
..
shader
cocoa.m ui/cocoa.m: add toast file support 2017-03-14 15:09:56 +00:00
console-gl.c
console.c ui/console: use exclusive mechanism directly 2017-03-28 10:52:45 +01:00
curses.c
curses_keys.h
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
egl-context.c
egl-helpers.c ui/egl-helpers: fix egl 1.5 display init 2017-03-27 12:14:45 +02:00
gtk-egl.c gtk-egl: add scanout_disable support 2017-02-27 16:15:29 +01:00
gtk-gl-area.c console: rename dpy_gl_scanout to dpy_gl_scanout_texture 2017-02-27 16:15:28 +01:00
gtk.c ui: Use XkbGetMap and XkbGetNames instead of XkbGetKeyboard 2017-02-27 16:19:47 +01:00
input-keymap.c
input-legacy.c
input-linux.c Fix input-linux reading from device 2017-04-03 11:44:58 +02:00
input.c
keymaps.c
keymaps.h
Makefile.objs add opengl_cflags to QEMU_CFLAGS 2017-03-21 10:25:01 +00:00
qemu-pixman.c
qemu-x509.h
sdl.c ui: Use XkbGetMap and XkbGetNames instead of XkbGetKeyboard 2017-02-27 16:19:47 +01:00
sdl2-2d.c
sdl2-gl.c sdl2: add scanout_disable support 2017-02-27 16:15:29 +01:00
sdl2-input.c
sdl2-keymap.h
sdl2.c sdl2: add scanout_disable support 2017-02-27 16:15:29 +01:00
sdl_keysym.h
sdl_zoom.c
sdl_zoom.h
sdl_zoom_template.h
shader.c
spice-core.c spice: add display & head options 2017-02-27 16:21:23 +01:00
spice-display.c spice: add display & head options 2017-02-27 16:21:23 +01:00
spice-input.c
trace-events
vgafont.h
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c ui/vnc: Drop unused vnc_has_job() and vnc_jobs_clear() 2017-02-08 14:59:36 +01:00
vnc-jobs.h ui/vnc: Drop unused vnc_has_job() and vnc_jobs_clear() 2017-02-08 14:59:36 +01:00
vnc-palette.c
vnc-palette.h
vnc-ws.c
vnc-ws.h
vnc.c io vnc sockets: Clean up SocketAddressKind switches 2017-04-03 17:11:39 +02:00
vnc.h ui: refactor VncDisplay to allow multiple listening sockets 2017-02-08 14:59:37 +01:00
vnc_keysym.h
x_keymap.c
x_keymap.h