mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-23 04:35:03 -07:00
qemu-char: Consolidate guest_close/guest_open into a set_fe_open callback
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Message-id: 1364292483-16564-7-git-send-email-hdegoede@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8e25daa87a
commit
574b711a92
3 changed files with 11 additions and 19 deletions
|
|
@ -68,8 +68,7 @@ struct CharDriverState {
|
|||
void (*chr_close)(struct CharDriverState *chr);
|
||||
void (*chr_accept_input)(struct CharDriverState *chr);
|
||||
void (*chr_set_echo)(struct CharDriverState *chr, bool echo);
|
||||
void (*chr_guest_open)(struct CharDriverState *chr);
|
||||
void (*chr_guest_close)(struct CharDriverState *chr);
|
||||
void (*chr_set_fe_open)(struct CharDriverState *chr, int fe_open);
|
||||
void *opaque;
|
||||
int idle_tag;
|
||||
char *label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue