Page MenuHomeFreeBSD

D33739.diff
No OneTemporary

D33739.diff

diff --git a/usr.sbin/bhyve/pci_passthru.c b/usr.sbin/bhyve/pci_passthru.c
--- a/usr.sbin/bhyve/pci_passthru.c
+++ b/usr.sbin/bhyve/pci_passthru.c
@@ -444,7 +444,7 @@
memset(&pbm, 0, sizeof(pbm));
pbm.pbm_sel = sc->psc_sel;
pbm.pbm_flags = PCIIO_BAR_MMAP_RW;
- pbm.pbm_reg = PCIR_BAR(pi->pi_msix.pba_bar);
+ pbm.pbm_reg = PCIR_BAR(pi->pi_msix.table_bar);
pbm.pbm_memattr = VM_MEMATTR_DEVICE;
if (ioctl(pcifd, PCIOCBARMMAP, &pbm) != 0) {

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 23, 9:15 PM (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12592748
Default Alt Text
D33739.diff (450 B)

Event Timeline