Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2025 11:54:03 +0100
From:      Michael Gmelin <grembo@freebsd.org>
To:        peter garshtja <peter.garshtja@ambient-md.com>
Cc:        Michael Gmelin <grembo@freebsd.org>, Paul Vixie <paul@redbarn.org>, virtualization@freebsd.org, freebsd-virtualization@freebsd.org
Subject:   Re: bhyve vm and virtio-console
Message-ID:  <20250215115403.53e02a7f.grembo@freebsd.org>
In-Reply-To: <CALFUBVHEV=Ee4Wvdhrq622KPnbEv6M8mkFH%2BxZ7nioLrqCmVgw@mail.gmail.com>
References:  <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> <CALFUBVE2j54=iDXP=NpbBnrf=aMR2-kD3PLwRkzT0Aaf1Ywfhw@mail.gmail.com> <CALFUBVHEV=Ee4Wvdhrq622KPnbEv6M8mkFH%2BxZ7nioLrqCmVgw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help



On Fri, 14 Feb 2025 19:36:21 -0500
peter garshtja <peter.garshtja@ambient-md.com> wrote:

> Alright, I was missing the point, in my case if I want to get shell
> access via virtio-console then I should have attached getty to that
> console inside the guest os, and eventually I expected to see the
> same behavior as I have experienced with null modem emulator.
> 

Yes, e.g., adding this in the vm's /etc/ttys will give you access to
a console without login/password prompt:

    ttyV0.0 "/usr/libexec/getty autologin"  xterm   on secure

-m

p.s. To make the life of those reading threads later, and if your
email client allows, please avoid top posting on the mailing lists:
https://docs.freebsd.org/en/articles/mailing-list-faq/#_what_are_the_special_etiquette_consideration_when_replying_to_an_existing_posting_on_the_mailing_lists

Thank you!

-- 
Michael Gmelin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250215115403.53e02a7f.grembo>