Page MenuHomeFreeBSD

virtio_mmio: Improve V1 spec conformance
ClosedPublic

Authored by bryanv on Aug 12 2022, 3:20 AM.
Tags
None
Referenced Files
F171984678: D36150.id109254.diff
Tue, Sep 15, 3:51 AM
Unknown Object (File)
Fri, Sep 11, 4:28 AM
Unknown Object (File)
Fri, Sep 11, 2:25 AM
Unknown Object (File)
Fri, Sep 11, 2:23 AM
Unknown Object (File)
Fri, Sep 11, 1:55 AM
Unknown Object (File)
Tue, Sep 8, 12:02 AM
Unknown Object (File)
Mon, Sep 7, 11:59 PM
Unknown Object (File)
Mon, Sep 7, 10:39 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.