diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-09-29 15:49:06 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-19 10:13:07 +0200 |
commit | fa19d02539a56ac20d03b2eef775be7ffcdd695a (patch) | |
tree | a8dfdc56f6d7fe38c1426254c3269d0d1c2077ba /include | |
parent | 68145e178ac200a27b5f0ab342da80cf60ddd576 (diff) | |
download | qemu-fa19d02539a56ac20d03b2eef775be7ffcdd695a.tar.gz qemu-fa19d02539a56ac20d03b2eef775be7ffcdd695a.tar.bz2 qemu-fa19d02539a56ac20d03b2eef775be7ffcdd695a.zip |
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')
-rw-r--r-- | include/sysemu/char.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h index 5c28c161f1..edf76693d9 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 |