aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-12-12 16:39:35 +0300
committerMarc-André Lureau <marcandre.lureau@redhat.com>2017-01-31 23:31:20 +0400
commitf612143a033a2373c17fa5bfa73c611c17092cc0 (patch)
treed36361ee9b01f3cfcd10da3cb2bd43c7a64de5ec /include
parentbf51f62869f4f7623e66b8e2b9f138687575330d (diff)
downloadqemu-f612143a033a2373c17fa5bfa73c611c17092cc0.zip
qemu-f612143a033a2373c17fa5bfa73c611c17092cc0.tar.gz
qemu-f612143a033a2373c17fa5bfa73c611c17092cc0.tar.bz2
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')
-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 1e1f5c7..1a65798 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 {