bhyve: Detecting that a guest kernel has booted

Mark Raynsford list+org.freebsd.virtualization at io7m.com
Mon Mar 11 17:22:12 UTC 2019


On 2019-03-11T13:08:53 -0400
Shawn Webb <shawn.webb at 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.
> 

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).

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20190311/974afed7/attachment.sig>


More information about the freebsd-virtualization mailing list