qemu/ui
Kevin Wolf 6e1db57b2a qemu-char: Print strerror message on failure
The only way for chardev drivers to communicate an error was to return a NULL
pointer, which resulted in an error message that said _that_ something went
wrong, but not _why_.

This patch changes the interface to return 0/-errno and updates
qemu_chr_open_opts to use strerror to display a more helpful error message.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-07-23 11:18:57 -05:00
..
cocoa.m cocoa: Avoid warning related to multiple handleEvent: definitions 2011-06-14 03:08:58 +02:00
curses_keys.h
curses.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
d3des.c
d3des.h
keymaps.c
keymaps.h
qemu-spice.h qemu-char: Print strerror message on failure 2011-07-23 11:18:57 -05:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
spice-core.c spice: add sanity check for spice ports 2011-07-20 10:08:53 +02:00
spice-display.c qxl: set mm_time in vga update 2011-07-04 15:35:12 +02:00
spice-display.h spice: don't call displaystate callbacks from spice server context. 2011-05-03 15:35:48 +02:00
spice-input.c
vnc_keysym.h vnc: added missing name->keysym pairs for Polish national characters 2011-04-01 22:29:27 +02:00
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: Fix compilation with --enable-vnc-png 2011-06-27 10:21:34 -05:00
vnc-enc-tight.h
vnc-enc-zlib.c vnc: tight: Fix crash after 2GB of output 2011-04-10 00:14:51 +02:00
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs-async.c
vnc-jobs-sync.c
vnc-jobs.h
vnc-palette.c severe memory leak caused by broken palette_destroy() function 2011-03-25 07:28:24 -05:00
vnc-palette.h
vnc-tls.c
vnc-tls.h
vnc.c vnc: fix build error from VNC_DIRTY_WORDS 2011-03-22 11:27:33 -05:00
vnc.h
x_keymap.c
x_keymap.h