Re: [PATCH] Support for S5 (soft power off) in bhyve

2013-12-27 Thread John Baldwin
On Thursday, December 26, 2013 11:37:47 am John Baldwin wrote: > On Wednesday, December 25, 2013 10:43:27 am Michael Dexter wrote: > > > > John, > > > > This is awesome. > > > > Can this be triggered from the host to shut down an unresponsive VM? > > > > If so, syntax? > > It cannot. However,

[PATCH] Rework DSDT generation in bhyve

2013-12-27 Thread John Baldwin
While hacking on the power button support, I also started rototilling the DSDT generation code a bit. My initial goal was to enumerate the LPC serial ports (COM1 and COM2) properly via ACPI. I ended up doing the following: - Moved the info for the top-level PCI bus into the PCI emulation code an

Re: [PATCH] Support for S5 (soft power off) in bhyve

2013-12-27 Thread Michael Dexter
On 12/27/13 8:46 AM, John Baldwin wrote: >>> Can this be triggered from the host to shut down an unresponsive VM? >> > >> > It cannot. >> > >> > I will look into that. >> > > I've implemented this. You rock. Michael ___ freebsd-virtualization@freebsd.

Re: [PATCH] Support for S5 (soft power off) in bhyve

2013-12-27 Thread Neel Natu
Hi John, On Fri, Dec 27, 2013 at 8:46 AM, John Baldwin wrote: > On Thursday, December 26, 2013 11:37:47 am John Baldwin wrote: >> On Wednesday, December 25, 2013 10:43:27 am Michael Dexter wrote: >> > >> > John, >> > >> > This is awesome. >> > >> > Can this be triggered from the host to shut dow

Re: [PATCH] Rework DSDT generation in bhyve

2013-12-27 Thread Neel Natu
Hi John, On Fri, Dec 27, 2013 at 9:05 AM, John Baldwin wrote: > While hacking on the power button support, I also started rototilling the DSDT > generation code a bit. My initial goal was to enumerate the LPC serial ports > (COM1 and COM2) properly via ACPI. I ended up doing the following: > >

Re: [PATCH] Rework DSDT generation in bhyve

2013-12-27 Thread John Baldwin
On 12/27/13 8:49 PM, Neel Natu wrote: > Hi John, > > On Fri, Dec 27, 2013 at 9:05 AM, John Baldwin wrote: >> While hacking on the power button support, I also started rototilling the >> DSDT >> generation code a bit. My initial goal was to enumerate the LPC serial ports >> (COM1 and COM2) prope