Page MenuHomeFreeBSD

virtio_mmio: Improve V1 spec conformance
ClosedPublic

Authored by bryanv on Aug 12 2022, 3:20 AM.
Tags
None
Referenced Files
F170637676: D36150.id.diff
Sat, Sep 5, 6:20 PM
F170507603: D36150.id109254.diff
Sat, Sep 5, 3:53 AM
F170488624: D36150.id109214.diff
Sat, Sep 5, 1:47 AM
F170479481: D36150.id109492.diff
Sat, Sep 5, 12:41 AM
Unknown Object (File)
Thu, Sep 3, 7:22 PM
Unknown Object (File)
Thu, Sep 3, 4:09 AM
Unknown Object (File)
Thu, Sep 3, 12:06 AM
Unknown Object (File)
Wed, Sep 2, 5:57 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 46902
Build 43791: 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.