At the moment, the list of protected BAR regions is unused by the passthru
emulation. Make use of it when mapping the BAR regions. This causes bhyve to
trap those regions.
Details
Details
- Reviewers
jhb markj - Group Reviewers
bhyve - Commits
- rGf841cb63687b: bhyve: trap protected BAR regions of passthru devices
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| usr.sbin/bhyve/pci_passthru.c | ||
|---|---|---|
| 1335–1336 | Wasn't aware of this helper tool. I'm always using the top level .clang-format. Unfortunately, it seems to be incorrect for some cases. | |