Page MenuHomeFreeBSD

virtio_mmio: Improve V1 spec conformance
ClosedPublic

Authored by bryanv on Aug 12 2022, 3:20 AM.
Tags
None
Referenced Files
F154127163: D36150.id.diff
Sun, Apr 26, 9:33 AM
Unknown Object (File)
Sat, Apr 25, 7:04 AM
Unknown Object (File)
Fri, Apr 24, 4:29 PM
Unknown Object (File)
Thu, Apr 23, 10:28 PM
Unknown Object (File)
Fri, Apr 17, 3:46 AM
Unknown Object (File)
Thu, Apr 16, 4:56 PM
Unknown Object (File)
Thu, Apr 16, 2:16 PM
Unknown Object (File)
Wed, Apr 15, 8:06 PM
Subscribers

Details

Summary

Implement the virtio_bus_finalize_features method so the FEATURES_OK
status bit is set. Implement the virtio_bus_config_generation method
to ensure larger than 4-byte reads are consistent.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46873
Build 43762: arc lint + arc unit

Event Timeline

sys/dev/virtio/mmio/virtio_mmio.c
470

I think we need to call this from vtmmio_reinit after the call to vtmmio_negotiate_features?

bryanv added inline comments.
sys/dev/virtio/mmio/virtio_mmio.c
470

Yes thanks.

bryanv marked an inline comment as done.

Address comment

Just tested, works with Firecracker.

This revision is now accepted and ready to land.Aug 12 2022, 4:48 PM
This revision was automatically updated to reflect the committed changes.