Re: Detect of BHyve VM was powered off or rebooted?

2014-02-12 Thread Craig Rodrigues
On Tue, Feb 11, 2014 at 3:18 PM, Neel Natu neeln...@gmail.com wrote: One question, if bhyve exits, do I have to call bhyveload again before calling bhyve? Yes, that is correct. You will also need to destroy the VM after bhyve exits. Why can't bhyve clean up after itself as the

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-12 Thread Aryeh Friedman
On Wed, Feb 12, 2014 at 4:28 AM, Craig Rodrigues rodr...@freebsd.orgwrote: On Tue, Feb 11, 2014 at 3:18 PM, Neel Natu neeln...@gmail.com wrote: One question, if bhyve exits, do I have to call bhyveload again before calling bhyve? Yes, that is correct. You will also need to

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-12 Thread Peter Grehan
Hi Craig, It seems pointless to me for the user to have to explictly destroy the VM. We're working on fixing it. What it gave during the development process (and still gives) is the ability to get post-mortem information when the bhyve process exits. Once the bhyve process exits, I

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-12 Thread Aryeh Friedman
On Wed, Feb 12, 2014 at 10:28 AM, Peter Grehan gre...@freebsd.org wrote: No - leave them there. Think of the tap interfaces as ports on a switch, and the bhyve processes as being plugged/unplugged from the ports. Every time I have tried this it has lead to bricking the bridge if done in the

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-11 Thread John Baldwin
On Sunday, February 09, 2014 7:03:41 pm Neel Natu wrote: Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I posted some rc.d scripts that I am using to boot a BHyve VM and send the output to a serial console using the /dev/nmdm driver:

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-11 Thread Craig Rodrigues
On Tue, Feb 11, 2014 at 11:11 AM, John Baldwin j...@freebsd.org wrote: On Sunday, February 09, 2014 7:03:41 pm Neel Natu wrote: Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I posted some rc.d scripts that I am using to boot a BHyve VM

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-11 Thread Neel Natu
Hi Craig, On Feb 11, 2014, at 2:29 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Feb 11, 2014 at 11:11 AM, John Baldwin j...@freebsd.org wrote: On Sunday, February 09, 2014 7:03:41 pm Neel Natu wrote: Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Aryeh Friedman
On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I posted some rc.d scripts that I am using to boot a BHyve VM and send the output to a serial console using the /dev/nmdm driver:

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Aryeh Friedman
On Sun, Feb 9, 2014 at 5:18 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote: On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues rodr...@freebsd.orgwrote: Hi, I posted some rc.d scripts that I am using to boot

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Neel Natu
Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I posted some rc.d scripts that I am using to boot a BHyve VM and send the output to a serial console using the /dev/nmdm driver:

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Neel Natu
Hi Craig, On Sun, Feb 9, 2014 at 2:18 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote: On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues rodr...@freebsd.orgwrote: Hi, I posted some rc.d scripts that I am using

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Neel Natu
Hi Aryeh, On Sun, Feb 9, 2014 at 2:34 PM, Aryeh Friedman aryeh.fried...@gmail.com wrote: On Sun, Feb 9, 2014 at 5:18 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote: On Sun, Feb 9, 2014 at 4:11 PM, Craig