Re: git: e962b37bf0ff - main - bhyve: Do not enable PCI BAR decoding if a boot ROM is present

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 Sep 2024 13:37:45 UTC
On 9/5/24 22:10, Shawn Webb wrote:
> Hey Mark,
> 
> This commit seems to force me to now pass "-o pci.enable_bars=true" to
> all my VMs on amd64. I wonder if that might be a POLA violation. I
> didn't realize that I needed to set that until I bisected the src
> tree, looking for the commit that broke bhyve for me.
> 
> Is changing the default here really worth it for amd64? If so, I'm
> thinking this should be in both RELNOTES and UPDATING. I now have to
> propigate re-enabling this across my entire infrastructure.
> 
> Thanks,

That should only be true if you are using an older UEFI firmware that did
not program BARs.  Are you seeing this on stock FreeBSD, and which version
of the UEFI ROM are you using?

-- 
John Baldwin