Enhance tools/readserial.py to support reading from a pipe.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 28 Aug 2010 18:55:32 +0000 (14:55 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 28 Aug 2010 18:55:32 +0000 (14:55 -0400)
commit2dcd9faf2d3987a8ec945da944074a99b34a13df
tree419373fb44ca13c01e520398f5a744ed9924df32
parent7ce09ae6542f0f4187024ae3267b61a0cf6ebd39
Enhance tools/readserial.py to support reading from a pipe.

Add option parsing support to tool.

Enable option (-f) to read from a pipe - which is useful when
redirecting qemu's debugging log to a pipe with:
  -chardev pipe,id=seabios,path=seabioslog -device isa-debugcon,iobase=0x402,chardev=seabios
tools/readserial.py