Received: from eggs.gnu.org ([140.186.70.92]:39183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZuAc-0005F6-6J for qemu-devel@nongnu.org; Thu, 23 Jun 2011 20:22:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZuAb-0005bF-7x for qemu-devel@nongnu.org; Thu, 23 Jun 2011 20:22:50 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:63193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZuAb-0005bA-3J for qemu-devel@nongnu.org; Thu, 23 Jun 2011 20:22:49 -0400 Received: by fxm2 with SMTP id 2so1758925fxm.4 for ; Thu, 23 Jun 2011 17:22:47 -0700 (PDT) Date: Fri, 24 Jun 2011 02:22:44 +0200 From: "Edgar E. Iglesias" Message-ID: <20110624002244.GB13953@laped.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] serial input with -serial stdio List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com Hi, Tried to stream 2K of data into a guest via an emulated serial port backed by -serial stdio but it failed. Looks like data flows for a while, then suddenly even though the last call to can_rceive returns +, nothing comes. It works OK through TCP ports (-serial tcp::xxx,server + nc). I know this used to work before, last time I tried was about a year ago or so, maybe a little more. I suspect regression somewhere. I run qemu something like the following: cat file-with-ser-data | qemu-system-cris -kernel image -serial stdio The serial port is hw/etraxfs_ser.c, can't find anything wrong there. Unfortunately I dont have much time at the moment to debug, so I tought I just throw this out to the list and hope that someone knows whats going on. Otherwise I'll debug later. Cheers, Edgar