[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Config to make multiple consoles work with PV


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Félix Arreola Rodríguez <gatuno@xxxxxxxxx>
  • Date: Sun, 30 Apr 2023 23:49:12 -0600
  • Delivery-date: Mon, 01 May 2023 05:50:05 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

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.

Attachment: debian_bullseye.cfg
Description: Binary data

Attachment: pgpL2ehYx4Y8o.pgp
Description: Firma digital OpenPGP


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.