WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] serial-split.c

To: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] serial-split.c
From: "Charles Coffing" <ccoffing@xxxxxxxxxx>
Date: Tue, 22 Feb 2005 16:24:49 -0700
Delivery-date: Tue, 22 Feb 2005 23:28:18 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
A while back (probably a few months, actually) I saw others struggling
to make sense of nsplitd.  I had never managed to get nsplitd working
either, so I wrote a simple tool to split a serial port between two TCP
ports.  Rather than letting it rot on my disk, here's the patch.

cd into tools/misc/serial-split and run "make" to build it.

Usage is as simple as running "serial-split" with no args.  This will
(by default) split COM1 (running at 115200/8N1) between ports 12010 and
12011.  Attach gdb with "target remote localhost:12011".  Attach to the
console with (perhaps) "tools/misc/xencons localhost 12010".

Run "serial-split --help" for more help, or look at the comment at the
top of the file for a setup scenario.

Hope someone else finds this useful.
Charles

Attachment: serial-split.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] serial-split.c, Charles Coffing <=