mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-04 09:04:39 -07:00
qemu-char: convert vc backend to data-driven creation
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
68145e178a
commit
fa19d02539
6 changed files with 10 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue