qemu-e2k/ui
Marc-André Lureau 777357d758 chardev: qom-ify
Turn Chardev into Object.

qemu_chr_alloc() is replaced by the qemu_chardev_new() constructor. It
will call qemu_char_open() to open/intialize the chardev with the
ChardevCommon *backend settings.

The CharDriver::create() callback is turned into a ChardevClass::open()
which is called from the newly introduced qemu_chardev_open().

"chardev-gdb" and "chardev-hci" are internal chardev and aren't
creatable directly with -chardev. Use a new internal flag to disable
them. We may want to use TYPE_USER_CREATABLE interface instead, or
perhaps allow -chardev usage.

Although in general we keep typename and macros private, unless the type
is being used by some other file, in this patch, all types and common
helper macros for qemu-char.c are in char.h. This is to help transition
now (some types must be declared early, while some aren't shared) and
when splitting in several units. This is to be improved later.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-27 18:08:00 +01:00
..
shader
cocoa.m qemu-doc: merge qemu-tech and qemu-doc 2016-10-07 10:05:54 +02:00
console-gl.c
console.c chardev: qom-ify 2017-01-27 18:08:00 +01:00
curses_keys.h
curses.c curses: Fix compiler warnings (Mingw-w64 redefinition of macro KEY_EVENT) 2017-01-10 08:14:20 +01:00
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
egl-context.c
egl-helpers.c egl-helpers: Change file licensing to LGPLv2 2017-01-10 08:14:20 +01:00
gtk-egl.c
gtk-gl-area.c
gtk.c chardev: qom-ify 2017-01-27 18:08:00 +01:00
input-keymap.c ps2: Fix lost scancodes by recent changes 2017-01-10 08:14:20 +01:00
input-legacy.c
input-linux.c input-linux: initialize key state 2016-10-13 09:25:24 +02:00
input.c
keymaps.c
keymaps.h
Makefile.objs
qemu-pixman.c
qemu-x509.h
sdl2-2d.c
sdl2-gl.c
sdl2-input.c
sdl2-keymap.h
sdl2.c sdl2: fix build failure on windows 2017-01-13 10:56:17 +00:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c console: move window ID code from baum to sdl 2017-01-10 08:14:20 +01:00
shader.c
spice-core.c vl: Switch qemu_uuid to QemuUUID 2016-09-23 11:42:52 +08:00
spice-display.c spice/gl: render DisplaySurface via opengl 2016-09-28 12:49:36 +02:00
spice-input.c
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
vgafont.h
vnc_keysym.h
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c ui/vnc-enc-tight: remove switch and have single return 2016-09-28 12:55:09 +02:00
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
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-ws.c io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
vnc-ws.h
vnc.c ui/vnc: Fix problem with sending too many bytes as server name 2017-01-10 08:14:20 +01:00
vnc.h ui: rename vnc_init_state to vnc_start_protocol 2016-10-13 09:22:31 +02:00
x_keymap.c
x_keymap.h