diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-03-26 11:07:58 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-27 10:26:49 -0500 |
commit | 574b711a92db094a2d4e7ca707f3b34437a64246 (patch) | |
tree | 8591fba70cbfceaf375ee22727e65cf71cd5eb5e /include/char | |
parent | 8e25daa87ac98c9070365b42dcfc070e47fca934 (diff) |
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>
Diffstat (limited to 'include/char')
-rw-r--r-- | include/char/char.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/char/char.h b/include/char/char.h index a726ddc011..32c9999113 100644 --- a/include/char/char.h +++ b/include/char/char.h @@ -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; |