Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2021 23:37:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 260148] passthru stopped working
Message-ID:  <bug-260148-27103-AhTktrsZs5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260148-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260148-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260148

--- 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 sett=
ing
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260148-27103-AhTktrsZs5>