Today, I went to start a vm-bhyve machine and there was a message that it was starting. When I opened vncviewer, however, there was nothing there. Doing vm list showed all VMs were stopped. The log showed error 4 with and a message that it had failed to find virtual switch public. I've had small issues in the past where I could fix connection issues by destroying and recreating the switch, This time, I got an error that the switch couldn't be destroyed with no other explanation.
I saw that I'd done a vm-bhyve update a couple of days ago, and I don't that that I've started a VM since. So, I tried to just reinstall it using portmaster (which took almost no time, only a bit longer than installing the package.)
So, with bated breath, I started a VM, and it was fine. I'm not sure if the update caused the problem, the version installed with portmaster was, (I think) the same. (I use latest rather than quarterly). I only did a cursory web search and didn't find anything that seemed helpful. I did run the FreeBSD update mentioned a few days ago. So, not quite sure of the cause, but reinstalling fixed the issue. Again, like the last time I ran into an issue solved by an update, I'm just posting this in case someone else has the same issue and my solution helps.
I saw that I'd done a vm-bhyve update a couple of days ago, and I don't that that I've started a VM since. So, I tried to just reinstall it using portmaster (which took almost no time, only a bit longer than installing the package.)
So, with bated breath, I started a VM, and it was fine. I'm not sure if the update caused the problem, the version installed with portmaster was, (I think) the same. (I use latest rather than quarterly). I only did a cursory web search and didn't find anything that seemed helpful. I did run the FreeBSD update mentioned a few days ago. So, not quite sure of the cause, but reinstalling fixed the issue. Again, like the last time I ran into an issue solved by an update, I'm just posting this in case someone else has the same issue and my solution helps.