Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 12:19:22 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve: reboot stops vm
Message-ID:  <201401221219.22522.jhb@freebsd.org>
In-Reply-To: <CAGBxaXnmw%2BDWhjhZVfGh4Rg0PHkhsTJ5Kv-5OXqPrwpfUyuyhA@mail.gmail.com>
References:  <52DDB1DC.5040908@FreeBSD.org> <201401211225.39942.jhb@freebsd.org> <CAGBxaXnmw%2BDWhjhZVfGh4Rg0PHkhsTJ5Kv-5OXqPrwpfUyuyhA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, January 21, 2014 4:48:38 pm Aryeh Friedman wrote:
> >
> > Yes, I use the vmrun.sh script which uses a loop to restart the VM when you
> > reboot.
> 
> 
> Ideally shouldn't the -H option be the default?

That doesn't do what you think it does.  That means when the guest does a 'hlt'
instruction to idle, the processor signals a trap to the hypervisor and
exits VMX mode.  That has nothing to do with restarting on a virtual reboot.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401221219.22522.jhb>