Page MenuHomeFreeBSD

D20523.diff
No OneTemporary

D20523.diff

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

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)

Event Timeline