From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4znv-0003B7-Hf for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:30:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4zno-000374-Bk for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:30:48 -0500 Received: from [199.232.76.173] (port=43466 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4znn-00036p-Kv for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:30:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32315) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4znn-0006Hs-61 for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:30:43 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA2GUfe0002126 for ; Mon, 2 Nov 2009 11:30:41 -0500 From: Amit Shah Date: Mon, 2 Nov 2009 21:59:58 +0530 Message-Id: <1257179398-22110-1-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] [PATCH] char: tcp: increase size of buffer that holds data to be sent out List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah 1k is too less; at least send out 4k of data from a chardev. Signed-off-by: Amit Shah --- 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