Page MenuHomeFreeBSD

bhyve: Add virtio modern support handling
Needs ReviewPublic

Authored by khng on Apr 11 2021, 5:03 PM.

Details

Reviewers
None
Group Reviewers
bhyve
Summary

This adds virtio modern support handling to bhyve.
pci_emul_add_capability is exposed to support PCIY_VENDOR-type
virtio modern capabilities.

Current virtio devices are slightly changed to adopt
vi_pci_cfgread/vi_pci_cfg_write.

Virtio modern is not exposed to device emulation code currently.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 38506
Build 35395: arc lint + arc unit