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
1 file changed
tree: 419373fb44ca13c01e520398f5a744ed9924df32
  1. .gitignore
  2. COPYING
  3. COPYING.LESSER
  4. Makefile
  5. README
  6. TODO
  7. src/
  8. tools/
  9. vgasrc/