Date: Mon, 11 Mar 2019 20:09:33 +0100 From: "Patrick M. Hausen" <hausen@punkt.de> To: Mark Raynsford <list+org.freebsd.virtualization@io7m.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve: Detecting that a guest kernel has booted Message-ID: <67EAE893-5451-4D37-A129-37AB858C4F26@punkt.de> In-Reply-To: <20190311170420.61bd34c6@almond.int.arc7.info> References: <20190311170420.61bd34c6@almond.int.arc7.info>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_976E1CCC-E48D-448E-8388-45E304997A64 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all, > Am 11.03.2019 um 18:04 schrieb Mark Raynsford via = freebsd-virtualization <freebsd-virtualization@freebsd.org>: > Leaving aside userland monitoring tools such as Prometheus[0], is = there > any way to detect on the host that a guest kernel running in bhyve has > booted? I'm assuming "booted" in this sense to mean "PID 1 has = probably > started". I'm guessing that there probably isn't, but I thought I'd > better ask anyway. "Not booted" would mean something like "Is sitting > at the Grub prompt doing nothing=E2=80=9C. The abandoned FreeNAS Corral release did have guest additions that served as a simple health monitor for FreeBSD and Linux guests. They used virtio_console(4) and the last state of the project can be found here: https://github.com/freenas/freenas-vm-tools They compile cleanly on FreeBSD 12 and I even made a port that I submitted to iX Systems, but we all know what happened to Corral, unfortunately. Possibly they can serve as a starting point for a new project. And then there seems to be a newer version, again from FreeNAS, written in Go: https://github.com/freenas/bhyve-vm-goagent HTH, Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling --Apple-Mail=_976E1CCC-E48D-448E-8388-45E304997A64 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEgzqrjO/mj9CSsTg2kG8u4u3aiVwFAlyGsm4ACgkQkG8u4u3a iVwQ5Af/VYevJImrzsbMch+UffUva+MUSILnZhXpH88TxiXaAz5FcIt14nVzRmey hLsoYRVGLEjfAWFRqNh5+2SiEas6xW2MqZtnRQP9TZ/CDtSVU1QozfblGRghA/5G T/u+XhENVctcg1RdRW62gwAGSAwjZyZ3TFW3PD7cVn9p+4K5rf1cLbVvZ23c7Szj wv+wOc9FQSPUedA+5okZwujOSgz0YDBJe54BEnqshjlxkd0XSJGGkD8g7UP+xlc8 +SRQ+mdEOm9rnh1g9758xn4BSa+iNFEiNrdsNjNpUaAJjDCVViEkGpByfqwwX4RL E9jJwqqyQYmcWKmQgqLhqu51tJz+xw== =E+Qg -----END PGP SIGNATURE----- --Apple-Mail=_976E1CCC-E48D-448E-8388-45E304997A64--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67EAE893-5451-4D37-A129-37AB858C4F26>