Page MenuHomeFreeBSD

add virtio file system device support
Needs ReviewPublic

Authored by emil_etsalapatis.com on Aug 14 2024, 3:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 15, 11:07 PM
Unknown Object (File)
Wed, Mar 5, 6:49 AM
Unknown Object (File)
Fri, Feb 28, 4:44 PM
Unknown Object (File)
Sat, Feb 22, 9:00 PM
Unknown Object (File)
Feb 7 2025, 2:23 AM
Unknown Object (File)
Feb 5 2025, 5:17 PM
Unknown Object (File)
Jan 28 2025, 10:41 PM
Unknown Object (File)
Jan 28 2025, 8:48 AM

Details

Summary

Supporting the virtiofs requires a device driver for the virtio fs device. Add the virtio file system driver before introducing the file system itself.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 59021
Build 55908: arc lint + arc unit

Event Timeline

lwhsu added inline comments.
sys/dev/virtio/fs/virtio_fs.h
4

We need a copyright holder here, and may drop "all rights reserved."

asomers requested changes to this revision.Aug 21 2024, 7:30 PM
asomers added inline comments.
sys/dev/virtio/fs/virtio_fs.c
58

This line is redundant with the one in virtio_fs.h

296
550–551
sys/dev/virtio/fs/virtio_fs_internal.h
10

If these messages are just for debugging purposes, shouldn't there be a way to turn them off?

This revision now requires changes to proceed.Aug 21 2024, 7:30 PM