Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108559531
D33739.id100933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
475 B
Referenced Files
None
Subscribers
None
D33739.id100933.diff
View Options
Index: usr.sbin/bhyve/pci_passthru.c
===================================================================
--- usr.sbin/bhyve/pci_passthru.c
+++ 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
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 8:23 AM (2 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16191557
Default Alt Text
D33739.id100933.diff (475 B)
Attached To
Mode
D33739: bhyve: Map the right BAR in init_msix_table()
Attached
Detach File
Event Timeline
Log In to Comment