Date: Tue, 30 Nov 2021 23:37:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260148 --- Comment #3 from Bjoern A. Zeeb <bz@FreeBSD.org> --- (In reply to Mark Johnston from comment #2) we do on the host; we should also do this on a bhyve restart; order of events as I understand them currently: host boot bhyve boot driver load driver unload (disabling bar) bhyve shutdown bhyve start -- fails as bar is not enabled. My understanding was that pci_emul_alloc_bar() called right before pci_msix_table_bar() in cfginitbar() should enable the resources again setting PCIM_CMD_MEMEN. So the mmap should not fail. I am currently seeing if anything makes this not work as I thought it would or if I am misunderstanding something. -- You are receiving this mail because: You are the assignee for the bug.