summaryrefslogtreecommitdiffstats
path: root/include/sysemu/char.h
diff options
context:
space:
mode:
authorMarc-André Lureau2016-12-12 14:39:35 +0100
committerMarc-André Lureau2017-01-31 20:31:20 +0100
commitf612143a033a2373c17fa5bfa73c611c17092cc0 (patch)
treed36361ee9b01f3cfcd10da3cb2bd43c7a64de5ec /include/sysemu/char.h
parentchar: move ringbuf/memory to its own file (diff)
downloadqemu-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.h1
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 {