[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] char: tcp: increase size of buffer that holds data
From: |
Amit Shah |
Subject: |
[Qemu-devel] [PATCH] char: tcp: increase size of buffer that holds data to be sent out |
Date: |
Mon, 2 Nov 2009 21:59:58 +0530 |
1k is too less; at least send out 4k of data from a chardev.
Signed-off-by: Amit Shah <address@hidden>
---
qemu-char.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 0fd402c..34c0a63 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1996,7 +1996,7 @@ static void tcp_chr_read(void *opaque)
{
CharDriverState *chr = opaque;
TCPCharDriver *s = chr->opaque;
- uint8_t buf[1024];
+ uint8_t buf[4096];
int len, size;
if (!s->connected || s->max_size <= 0)
--
1.6.2.5
- [Qemu-devel] [PATCH] char: tcp: increase size of buffer that holds data to be sent out,
Amit Shah <=