This is more intuitive than having to run pciconf -lv and figure out
the bus/slot/func entry manually.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
share/examples/bhyve/vmrun.sh | ||
---|---|---|
90–91 | The example is indeed incorrect, as the driver would have to be detached first. bhyve works by passing it a ppt driver, so none (although the script will still be able to fetch its bus/slot/func) isn't supposed to be used either. https://wiki.freebsd.org/bhyve/pci_passthru The example should say ppt0 instead of ehci0. |
share/examples/bhyve/vmrun.sh | ||
---|---|---|
358 | I'll fix this in another commit because there are multiple other instances of this. |
share/examples/bhyve/vmrun.sh | ||
---|---|---|
356 | Sorry, I meant to write pciconf -l $pass| awk -F: '{print $2"/"$3"/"$4}'. I'd also name the variable something more accurate, maybe "bsl" (bus slot function). |
share/examples/bhyve/vmrun.sh | ||
---|---|---|
356 | Don't we need to preserve the domain as well? |