bhyve clock issue

2016-04-13 Thread Ilario Febi
Hi All I have a strange issue about the clock of some FreeBSD Bhyve guests, maybe someone of you can help me to diagnose it and work on a solution. In detail, sometimes (without an apparent regularity) one of four bhyve guest's clock goes exactly 7 minutes and 10 seconds in the future. This

Understanding Bhyve shutdown

2016-04-13 Thread Roman Bogorodskiy
Hi, I was trying to get better understanding of how to properly shutdown VMs in bhyve, but unfortunately the documentation does not provide much details on that. Specifically, handbook [I] suggests to reboot a machine and then run bhyvectl --destroy on it. The bhyvectl(8) manpage mentions the

Re: Understanding Bhyve shutdown

2016-04-13 Thread Nikos Vassiliadis
Hi Roman, On 04/13/16 13:55, Roman Bogorodskiy wrote: Q1: Is there a way to know if a guest reacted to power button but waiting for the bhyve process to terminate? I just signal repeatedly $bhyve_pid until it's gone. For what it's worth, I use this /etc/rc.shutdown.local:

RE: Understanding Bhyve shutdown

2016-04-13 Thread Matt Churchyard via freebsd-virtualization
As I understand it 1) shutdown from guest 2) 'kill ' -> pressing the power button once. 3) --force-poweroff -> holding power button in 4) --force-reset -> pressing the reset button 5) bhyvectl --destroy -> same as 3? (although vmm is destroyed as well) 1 or 2 are obviously preferred. I've found