Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 12:18 PM, Allan Jude wrote: > > The name of the vm is in the title of the bhyve process, but yes, it Hmm, OK, that would require me to grep the processes and send SIGTERM to the right pid. That's not ideal, especially if I start lots of VM's, but it is workable. > would b

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Allan Jude
On 2014-08-19 15:04, Craig Rodrigues wrote: > On Tue, Aug 19, 2014 at 9:25 AM, Allan Jude wrote: >> >> Yes, this revision adds the ability to 'reboot'. This does not exit >> bhyve at all, so there is no exit level >> >> You can 'reboot' a bhyve externally using: >> bhyvectl --force-reset --vm=xxx

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 9:25 AM, Allan Jude wrote: > > Yes, this revision adds the ability to 'reboot'. This does not exit > bhyve at all, so there is no exit level > > You can 'reboot' a bhyve externally using: > bhyvectl --force-reset --vm=xxx > > or force a poweroff with: bhyvectl --force-reset

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 10:32 AM, John Baldwin wrote: > The exit code is different. An ACPI shutdown uses an exit code of 1 whereas a > reboot uses an exit code of 0 IIRC. Hi, I have a CURRENT system, and ran some tests doing a "shutdown -r" and "shutdown -p" verified that you are right, with

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread John Baldwin
On Tuesday, August 19, 2014 11:50:43 am Craig Rodrigues wrote: > On Tue, Aug 19, 2014 at 8:40 AM, Roman Bogorodskiy wrote: > > Hi Craig, > > > > Unfortunately, I'm not sure how to get the reboot working. Moreover, I > > get the same behaviour when starting bhyve manually -- when I do a > > reboot

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Allan Jude
On 2014-08-19 12:32, Craig Rodrigues wrote: > On Tue, Aug 19, 2014 at 9:25 AM, Allan Jude wrote: >> >> Yes, this revision adds the ability to 'reboot'. This does not exit >> bhyve at all, so there is no exit level >> >> You can 'reboot' a bhyve externally using: >> bhyvectl --force-reset --vm=xxx

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 9:25 AM, Allan Jude wrote: > > Yes, this revision adds the ability to 'reboot'. This does not exit > bhyve at all, so there is no exit level > > You can 'reboot' a bhyve externally using: > bhyvectl --force-reset --vm=xxx > > or force a poweroff with: bhyvectl --force-reset

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Allan Jude
On 2014-08-19 11:50, John Nielsen wrote: > On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy wrote: > >> Craig Rodrigues wrote: >> >>> Roman, >>> >>> I am using libvirt and bhyve according to this XML: >>> http://libvirt.org/drvbhyve.html >>> and it works great. >>> I gave a presentation at BAFUG o

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Roman Bogorodskiy
John Nielsen wrote: > On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy wrote: > > > Craig Rodrigues wrote: > > > >> Roman, > >> > >> I am using libvirt and bhyve according to this XML: > >> http://libvirt.org/drvbhyve.html > >> and it works great. > >> I gave a presentation at BAFUG on this:

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread John Nielsen
On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy wrote: > Craig Rodrigues wrote: > >> Roman, >> >> I am using libvirt and bhyve according to this XML: >> http://libvirt.org/drvbhyve.html >> and it works great. >> I gave a presentation at BAFUG on this: >> http://www.slideshare.net/CraigRodrigues

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 8:40 AM, Roman Bogorodskiy wrote: > Hi Craig, > > Unfortunately, I'm not sure how to get the reboot working. Moreover, I > get the same behaviour when starting bhyve manually -- when I do a > reboot, bhyve(8) exits as soon as the system is ready to restart. > > So looks lik

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Roman Bogorodskiy
Allan Jude wrote: > On 2014-08-19 11:40, Roman Bogorodskiy wrote: > > Craig Rodrigues wrote: > > > >> Roman, > >> > >> I am using libvirt and bhyve according to this XML: > >> http://libvirt.org/drvbhyve.html > >> and it works great. > >> I gave a presentation at BAFUG on this: > >> http://ww

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Allan Jude
On 2014-08-19 11:40, Roman Bogorodskiy wrote: > Craig Rodrigues wrote: > >> Roman, >> >> I am using libvirt and bhyve according to this XML: >> http://libvirt.org/drvbhyve.html >> and it works great. >> I gave a presentation at BAFUG on this: >> http://www.slideshare.net/CraigRodrigues1/libvirt-

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Roman Bogorodskiy
Craig Rodrigues wrote: > Roman, > > I am using libvirt and bhyve according to this XML: > http://libvirt.org/drvbhyve.html > and it works great. > I gave a presentation at BAFUG on this: > http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve > > I have one question. If I reboot the bhyve V

Re: Problem with vmexit on mtrap

2014-08-19 Thread Martin Steegmanns
On Mon, Aug 18, 2014 at 08:59:28PM -0700, Neel Natu wrote: > > I wonder if a vmexit caused by the MTF could overlay with another > > vmexit. With the MTF bit set, I expect the guest system to > > behave exactly as without the MTF bit. Of course slower due to > > single stepping :). > > On my Xeon