]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
gtk: overwrite the console.c char driver
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 7 Dec 2016 12:13:50 +0000 (15:13 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 17:07:59 +0000 (18:07 +0100)
commit6f974c843c7c3d142f3ce594498431ba2ac19627
tree35676847288cdd3ceb311b30a9591b32fd5e96b5
parent776a32a0752b67d94859a60b98a1e772a85d8111
gtk: overwrite the console.c char driver

Instead of registering a vc handler to allocate the Gtk VC Chardev,
overwrite the console.c char driver.

A later patch, when switching to QOM, will register a default console vc
QOM class if none has been registered before.

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>
include/sysemu/char.h
ui/console.c
ui/gtk.c