serial="pty"
When adding the keyword serial="pty" to a xen cfg file, I am able to open /dev/ttyS0 in my dom-U linux kernel environment and send serial data to a /dev/pts/x port in my dom-0 linux environment. If I happen to have have multiple dom-U's configured this way, what is the best way to determine how these ports will be mapped so I will know which /dev/pts port belongs to which dom-U's /dev/ttyS0 port?
Thanks,
Larry White
Quoted 2 lines · On Tue, Jul 31, 2012 at 11:08:41PM +0000, [email protected] wrote:
When adding the keyword serial="pty" to a xen cfg file, I am able to open
/dev/ttyS0in my dom-U linux kernel environment and send serial data to a/dev/pts/xport in my dom-0 linux environment. If I happen to have have multiple dom-U's configured this way, what is the best way to determine how these ports will be mapped so I will know which/dev/ptsport belongs to which dom-U's/dev/ttyS0port?
You can see that info at least from xenstore, dunno if there are other ways..
-- Pasi
Quoted 5 lines · Pasi Kärkkäinen
Quoted 2 lines · On Tue, Jul 31, 2012 at 11:08:41PM +0000, [email protected] wrote:
When adding the keyword serial="pty" to a xen cfg file, I am able to open
/dev/ttyS0in my dom-U linux kernel environment and send serial data to a/dev/pts/xport in my dom-0 linux environment. If I happen to have have multiple dom-U's configured this way, what is the best way to determine how these ports will be mapped so I will know which/dev/ptsport belongs to which dom-U's/dev/ttyS0port?You can see that info at least from xenstore, dunno if there are other ways..
If you are using xl the "xl console <dom>" will get you the serial console by default (use -t option to force). I don't know if "xm console" had the same behaviour.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel