]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Map the right BAR in init_msix_table()
authorMark Johnston <markj@FreeBSD.org>
Tue, 4 Jan 2022 19:02:55 +0000 (14:02 -0500)
committerMark Johnston <markj@FreeBSD.org>
Wed, 5 Jan 2022 15:12:09 +0000 (10:12 -0500)
commit76b45e688ae84a701f52039c4d0abf8e21a3f59c
tree2a616b802dff62d455fcdbea33b5c2090694f335
parent459e0b92e8aef0048e19a306c4626ed72356a3d0
bhyve: Map the right BAR in init_msix_table()

The PBA and MSI-X table can reside in different BARs.

Reported by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: jhb
Fixes: 7fa233534736 ("bhyve: Map the MSI-X table unconditionally for passthrough")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33739
usr.sbin/bhyve/pci_passthru.c