Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 17:21:58 +0000
From:      Mark Raynsford <list+org.freebsd.virtualization@io7m.com>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve: Detecting that a guest kernel has booted
Message-ID:  <20190311172158.1c06b5d9@almond.int.arc7.info>
In-Reply-To: <20190311170853.cwjclznvsyd2wksu@mutt-hbsd>
References:  <20190311170420.61bd34c6@almond.int.arc7.info> <20190311170853.cwjclznvsyd2wksu@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/5ZHrWT4UeBmD_GbwcW82hXA
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On 2019-03-11T13:08:53 -0400
Shawn Webb <shawn.webb@hardenedbsd.org> wrote:
>
> If your guest OS supports it, you could probably write two scripts that
> uses virtio_console(4), one for the guest to tell the host "HELLO" and
> one for the host to say "NICE TO SEE YOU!" once the guest's "HELLO" is
> received.
>=20

They're a mix of FreeBSD, OpenBSD, and Debian guests. So I'm guessing
one out of three of those supports it...

I suppose my other option would be to add (another) NFS mount in each
guest, and have them touch a file early in the init script (and
possibly touch a different file early in the shutdown script).

--=20
Mark Raynsford | http://www.io7m.com


--Sig_/5ZHrWT4UeBmD_GbwcW82hXA
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTjeVlXFhMdtOerh91nsYzB+azjRQUCXIaZNgAKCRBnsYzB+azj
RS/0AQDn11JBFpowED1iZMoxWXFIQT41TwTUzKgun1vWUk+21QEA1IJg6O8MV0XL
dSf0pzhZBftI5n9uAcJBUm8pf8eNzQY=
=HbHx
-----END PGP SIGNATURE-----

--Sig_/5ZHrWT4UeBmD_GbwcW82hXA--



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