Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103568741
D20523.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
D20523.diff
View Options
Index: head/usr.sbin/bhyve/pci_passthru.c
===================================================================
--- head/usr.sbin/bhyve/pci_passthru.c
+++ head/usr.sbin/bhyve/pci_passthru.c
@@ -295,7 +295,7 @@
int index;
pi = sc->psc_pi;
- if (offset >= pi->pi_msix.pba_offset &&
+ if (pi->pi_msix.pba_page != NULL && offset >= pi->pi_msix.pba_offset &&
offset < pi->pi_msix.pba_offset + pi->pi_msix.pba_size) {
switch(size) {
case 1:
@@ -374,7 +374,7 @@
int index;
pi = sc->psc_pi;
- if (offset >= pi->pi_msix.pba_offset &&
+ if (pi->pi_msix.pba_page != NULL && offset >= pi->pi_msix.pba_offset &&
offset < pi->pi_msix.pba_offset + pi->pi_msix.pba_size) {
switch(size) {
case 1:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 3:11 PM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14888147
Default Alt Text
D20523.diff (714 B)
Attached To
Mode
D20523: Don't simulate PBA access if the PBA is in a separate BAR.
Attached
Detach File
Event Timeline
Log In to Comment