diff options
author | Marc-André Lureau | 2016-12-12 14:39:35 +0100 |
---|---|---|
committer | Marc-André Lureau | 2017-01-31 20:31:20 +0100 |
commit | f612143a033a2373c17fa5bfa73c611c17092cc0 (patch) | |
tree | d36361ee9b01f3cfcd10da3cb2bd43c7a64de5ec /include/sysemu/char.h | |
parent | char: move ringbuf/memory to its own file (diff) | |
download | qemu-f612143a033a2373c17fa5bfa73c611c17092cc0.tar.gz qemu-f612143a033a2373c17fa5bfa73c611c17092cc0.tar.xz qemu-f612143a033a2373c17fa5bfa73c611c17092cc0.zip |
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 { |