Mailing List Archive

Config to make multiple consoles work with PV
Hi

I have been searching, reading documentation about it (specially
docs/misc/console.txt), and doing several tests and can't make work to
have multiple HVC consoles for a PV guest.

I would like to have several PTY that can be read by the command
xenstore-ls. I can find the first console by xenstore-ls
/local/domain/$DOM_ID

My issue, I would like to see more consoles on the guest side
automatically on hvc1, hvc2, etc... and the same consoles ready for
reading as PTY or maybe as a TCP connection. And having these consoles
available from boot, to run tty logins on these consoles.

I tried to create channels with no luck. Tried something
like this:
channel=["name=mx.gatuno.test1,connection=pty,path=/tmp/gatuno_tty_1",
'name=mx.gatuno.test2,connection=pty,path=/tmp/gatuno_tty_2']

I really don't need the name things on the channel, but can use
anything if needed. Can somebody share a config to have several
consoles on the guest?

Attached to this mail is the configuration I been using and this is the
command to create the guest:

xl create debian_bullseye.cfg

The version of xen I'm using is:
xen_version : 4.14.5
xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p
hvm-3.0-x86_64

On debian Bullseye (11) with kernel 5.10.0-22-amd64 as Dom0

Really thanks for reading and helping me to find out a
working config.