diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-12-07 15:13:50 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-27 18:07:59 +0100 |
commit | 6f974c843c7c3d142f3ce594498431ba2ac19627 (patch) | |
tree | 35676847288cdd3ceb311b30a9591b32fd5e96b5 /include | |
parent | 776a32a0752b67d94859a60b98a1e772a85d8111 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/char.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h index 3a82d8092b..baa9e8f17e 100644 --- a/include/sysemu/char.h +++ b/include/sysemu/char.h @@ -507,9 +507,7 @@ void register_char_driver(const CharDriver *driver); extern int term_escape_char; - /* console.c */ -typedef Chardev *(VcHandler)(ChardevVC *vc, Error **errp); -void register_vc_handler(VcHandler *handler); +void qemu_chr_parse_vc(QemuOpts *opts, ChardevBackend *backend, Error **errp); #endif |