qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] char: tcp: increase size of buffer that holds data to be sent out
@ 2009-11-02 16:29 Amit Shah
  2009-11-02 16:47 ` [Qemu-devel] " Amit Shah
  2009-11-02 16:52 ` [Qemu-devel] " Anthony Liguori
  0 siblings, 2 replies; 4+ messages in thread
From: Amit Shah @ 2009-11-02 16:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Amit Shah

1k is too less; at least send out 4k of data from a chardev.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-03  4:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-02 16:29 [Qemu-devel] [PATCH] char: tcp: increase size of buffer that holds data to be sent out Amit Shah
2009-11-02 16:47 ` [Qemu-devel] " Amit Shah
2009-11-02 16:52 ` [Qemu-devel] " Anthony Liguori
2009-11-03  4:54   ` Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).