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

John Baldwin jhb at freebsd.org
Tue Dec 24 15:55:46 UTC 2013


On Monday, December 23, 2013 5:08:45 pm John Baldwin wrote:
> On Monday, December 23, 2013 5:01:45 pm Neel Natu wrote:
> > Hi John,
> > 
> > This looks good - thanks for adding this support!
> > 
> > I noticed that the RESET_REGISTER is not being advertised in the FACP
> > flags field. So, perhaps the access to 0xCF9 that you saw during
> > testing was triggered by cpu_reset_real() as opposed to AcpiReset()?
> 
> Yeah, that might explain why I had to comment out the 0x64 check in
> bhyverun.c directly as AcpiReset() should take precedence before
> cpu_reset_real() is invoked.  I'll retest that tomorrow to make sure I have
> the FACP correct.

With that fixed, ACPI now resets via 0xcf9 before trying 0x64.

-- 
John Baldwin


More information about the freebsd-virtualization mailing list