summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-09-29 15:49:06 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-19 10:13:07 +0200
commitfa19d02539a56ac20d03b2eef775be7ffcdd695a (patch)
treea8dfdc56f6d7fe38c1426254c3269d0d1c2077ba /include/sysemu
parent68145e178ac200a27b5f0ab342da80cf60ddd576 (diff)
downloadhqemu-fa19d02539a56ac20d03b2eef775be7ffcdd695a.zip
hqemu-fa19d02539a56ac20d03b2eef775be7ffcdd695a.tar.gz
qemu-char: convert vc backend to data-driven creation
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/char.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h
index 5c28c16..edf7669 100644
--- a/include/sysemu/char.h
+++ b/include/sysemu/char.h
@@ -357,8 +357,7 @@ extern int term_escape_char;
CharDriverState *qemu_char_get_next_serial(void);
/* console.c */
-typedef CharDriverState *(VcHandler)(ChardevVC *vc);
-
+typedef CharDriverState *(VcHandler)(ChardevVC *vc, Error **errp);
void register_vc_handler(VcHandler *handler);
-CharDriverState *vc_init(ChardevVC *vc);
+
#endif
OpenPOWER on IntegriCloud