mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
char: Emit 'CLOSED' events on char device close
Notify users of the char interface whenever the file / connection is closed. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0b5c1ce846
commit
793cbfb5d1
2 changed files with 11 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
#define CHR_EVENT_RESET 2 /* new connection established */
|
||||
#define CHR_EVENT_MUX_IN 3 /* mux-focus was set to this terminal */
|
||||
#define CHR_EVENT_MUX_OUT 4 /* mux-focus will move on */
|
||||
#define CHR_EVENT_CLOSED 5 /* connection closed */
|
||||
|
||||
|
||||
#define CHR_IOCTL_SERIAL_SET_PARAMS 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue