qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] serial input with -serial stdio
@ 2011-06-24  0:22 Edgar E. Iglesias
  2011-06-27  9:40 ` Amit Shah
  0 siblings, 1 reply; 2+ messages in thread
From: Edgar E. Iglesias @ 2011-06-24  0:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: amit.shah

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

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

* Re: [Qemu-devel] serial input with -serial stdio
  2011-06-24  0:22 [Qemu-devel] serial input with -serial stdio Edgar E. Iglesias
@ 2011-06-27  9:40 ` Amit Shah
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Shah @ 2011-06-27  9:40 UTC (permalink / raw)
  To: Edgar E. Iglesias; +Cc: qemu-devel

Hello,

On (Fri) 24 Jun 2011 [02:22:44], Edgar E. Iglesias wrote:
> 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

I've never used serial IO this way, so can't be sure.

> 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.

Let us know what you find.

		Amit

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

end of thread, other threads:[~2011-06-27  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24  0:22 [Qemu-devel] serial input with -serial stdio Edgar E. Iglesias
2011-06-27  9:40 ` 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).