Re: bhyve: Detecting that a guest kernel has booted

2019-03-27 Thread Nick Wolff
We actually have some people it looks like working on an updated UEFI and have a CFT out in Updating "uefi-edk2-bhyve" thread in this mailing list. I hope we can get bhyve-vm-goagent back in the tree and also built for any other operating systems peopl

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> > This branch is 8930 commits behind tianocore:master. > > And depends on an external git belonging to Peter Grehan, > > No, it isn't. > > https://github.com/freebsd/uefi-edk2 > > Under FreeBSD project control since Oct 16, 2015. My appologies, the page does not clearly show who owns th

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread grehan
This branch is 8930 commits behind tianocore:master. And depends on an external git belonging to Peter Grehan, No, it isn't. https://github.com/freebsd/uefi-edk2 Under FreeBSD project control since Oct 16, 2015. later, Peter. ___ freebsd-virtual

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> Hi all, > > > Am 11.03.2019 um 19:09 schrieb Rodney W. Grimes > > : > > I have no love for them either, but until we get our UEFI updated > > it is a rather sad state of affairs. > > I routinely boot FreeBSD, Ubuntu and Windows 10 with > UEFI, so I don?t see much that I would consider broken.

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Patrick M. Hausen
Hi all, > Am 11.03.2019 um 19:09 schrieb Rodney W. Grimes > : > I have no love for them either, but until we get our UEFI updated > it is a rather sad state of affairs. I routinely boot FreeBSD, Ubuntu and Windows 10 with UEFI, so I don’t see much that I would consider broken. Missing persisten

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Patrick M. Hausen
Hi all, > Am 11.03.2019 um 18:04 schrieb Mark Raynsford via freebsd-virtualization > : > 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 ha

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Shawn Webb
On Mon, Mar 11, 2019 at 11:09:07AM -0700, Rodney W. Grimes wrote: > > On Mon, Mar 11, 2019 at 10:58:55AM -0700, Rodney W. Grimes wrote: > > > -- Start of PGP signed section. > > > > On 2019-03-11T13:08:53 -0400 > > > > Shawn Webb wrote: > > > > > > > > > > If your guest OS supports it, you could p

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> On Mon, Mar 11, 2019 at 10:58:55AM -0700, Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > > On 2019-03-11T13:08:53 -0400 > > > Shawn Webb wrote: > > > > > > > > If your guest OS supports it, you could probably write two scripts that > > > > uses virtio_console(4), one for the gue

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Shawn Webb
On Mon, Mar 11, 2019 at 10:58:55AM -0700, Rodney W. Grimes wrote: > -- Start of PGP signed section. > > On 2019-03-11T13:08:53 -0400 > > Shawn Webb 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

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> On 2019-03-11T13:27:23 -0400 > Shawn Webb wrote: > > > > Both FreeBSD and Linux supports virtio_console(4). I have no idea > > about OpenBSD, but I'm sure they'd be open to an implementation if > > asked. > > Right. > > > > > The NFS solution would work, but it would be somewhat fragile. What

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
-- Start of PGP signed section. > On 2019-03-11T13:08:53 -0400 > Shawn Webb 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 gues

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Mark Raynsford via freebsd-virtualization
On 2019-03-11T13:27:23 -0400 Shawn Webb wrote: > > Both FreeBSD and Linux supports virtio_console(4). I have no idea > about OpenBSD, but I'm sure they'd be open to an implementation if > asked. Right. > > The NFS solution would work, but it would be somewhat fragile. What > happens when a VM c

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Shawn Webb
On Mon, Mar 11, 2019 at 05:21:58PM +, Mark Raynsford wrote: > On 2019-03-11T13:08:53 -0400 > Shawn Webb 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

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Mark Raynsford via freebsd-virtualization
On 2019-03-11T13:08:53 -0400 Shawn Webb 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

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Jason Barbier
None I know off the top of my head nor would that be really something easily done without some sort of agent. We could probably make some sort of inference based calls to the emulated registers but even then that wouldn't be that correct. --- Jason Barbier | E: ja...@corrupted.io On Mon, Mar

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Shawn Webb
On Mon, Mar 11, 2019 at 05:04:20PM +, Mark Raynsford via freebsd-virtualization wrote: > Hello! > > 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

bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Mark Raynsford via freebsd-virtualization
Hello! 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 a