diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-12-12 16:39:35 +0300 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-01-31 23:31:20 +0400 |
commit | f612143a033a2373c17fa5bfa73c611c17092cc0 (patch) | |
tree | d36361ee9b01f3cfcd10da3cb2bd43c7a64de5ec /include/sysemu/char.h | |
parent | bf51f62869f4f7623e66b8e2b9f138687575330d (diff) |
char: rename and move to header CHR_READ_BUF_LEN
This define is used by several character devices, place it in char
common header.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/sysemu/char.h')
-rw-r--r-- | include/sysemu/char.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h index 1e1f5c7b2b..1a65798e3e 100644 --- a/include/sysemu/char.h +++ b/include/sysemu/char.h @@ -22,6 +22,7 @@ typedef enum { CHR_EVENT_CLOSED /* connection closed */ } QEMUChrEvent; +#define CHR_READ_BUF_LEN 4096 #define CHR_IOCTL_SERIAL_SET_PARAMS 1 typedef struct { |