diff options
| author | Hans de Goede | 2013-03-26 11:07:58 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-03-27 16:26:49 +0100 |
| commit | 574b711a92db094a2d4e7ca707f3b34437a64246 (patch) | |
| tree | 8591fba70cbfceaf375ee22727e65cf71cd5eb5e /include | |
| parent | qemu-char: Cleanup: consolidate fe_open/fe_close into fe_set_open (diff) | |
| download | qemu-574b711a92db094a2d4e7ca707f3b34437a64246.tar.gz qemu-574b711a92db094a2d4e7ca707f3b34437a64246.tar.xz qemu-574b711a92db094a2d4e7ca707f3b34437a64246.zip | |
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')
| -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; |
