ArmVirtPkg, OvmfPkg: virtio filesystem driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest48 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/48 | OvmfPkg: introduce VirtioFsDxeOvmfPkg/ OvmfPkg/ OvmfPkg/ +5 more | +210 | 3 replies | |
| 2/48 | ArmVirtPkg: include VirtioFsDxe in the ArmVirtQemu* platformsArmVirtPkg/ ArmVirtPkg/ ArmVirtPkg/ | +6 | 0 replies | |
| 3/48 | OvmfPkg/VirtioFsDxe: DriverBinding: open VirtioDevice, install SimpleFsOvmfPkg/ OvmfPkg/ OvmfPkg/ +2 more | +181 | 0 replies | |
| 4/48 | OvmfPkg/VirtioFsDxe: implement virtio device (un)initializationOvmfPkg/ OvmfPkg/ OvmfPkg/ +2 more | +412 | 0 replies | |
| 5/48 | OvmfPkg/VirtioFsDxe: add a scatter-gather list data typeOvmfPkg/ OvmfPkg/ | +461 | 0 replies | |
| 6/48 | OvmfPkg/VirtioFsDxe: introduce the basic FUSE request/response headersOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +287 | 4 replies | |
| 7/48 | OvmfPkg/VirtioFsDxe: map "errno" values to EFI_STATUSOvmfPkg/ OvmfPkg/ | +205 | 0 replies | |
| 8/48 | OvmfPkg/VirtioFsDxe: submit the FUSE_INIT request to the deviceOvmfPkg/ OvmfPkg/ OvmfPkg/ +3 more | +182 | 0 replies | |
| 9/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_OPENDIROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +143 | 0 replies | |
| 10/48 | OvmfPkg/VirtioFsDxe: add shared wrapper for FUSE_RELEASE / FUSE_RELEASEDIROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +142 | 0 replies | |
| 11/48 | OvmfPkg/VirtioFsDxe: implement EFI_SIMPLE_FILE_SYSTEM_PROTOCOL.OpenVolume()OvmfPkg/ OvmfPkg/ OvmfPkg/ +12 more | +432 | 0 replies | |
| 12/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_FORGETOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +100 | 0 replies | |
| 13/48 | OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_FSYNC / FUSE_FSYNCDIROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +141 | 0 replies | |
| 14/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_FLUSHOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +130 | 0 replies | |
| 15/48 | OvmfPkg/VirtioFsDxe: flush, sync, release and forget in Close() / Delete()OvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +74 | 0 replies | |
| 16/48 | OvmfPkg/VirtioFsDxe: add helper for appending and sanitizing pathsOvmfPkg/ OvmfPkg/ OvmfPkg/ | +507 | 0 replies | |
| 17/48 | OvmfPkg/VirtioFsDxe: manage path lifecycle in OpenVolume, Close, DeleteOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +15 | 0 replies | |
| 18/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_OPENOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +156 | 0 replies | |
| 19/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_MKDIROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +198 | 0 replies | |
| 20/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_CREATEOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +182 | 0 replies | |
| 21/48 | OvmfPkg/VirtioFsDxe: convert FUSE inode attributes to EFI_FILE_INFOOvmfPkg/ OvmfPkg/ OvmfPkg/ +4 more | +134 | 0 replies | |
| 22/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_LOOKUPOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +164 | 0 replies | |
| 23/48 | OvmfPkg/VirtioFsDxe: split canon. path into last parent + last componentOvmfPkg/ OvmfPkg/ | +139 | 0 replies | |
| 24/48 | OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_UNLINK / FUSE_RMDIROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +125 | 0 replies | |
| 25/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_GETATTROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +140 | 0 replies | |
| 26/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Open()OvmfPkg/ | +479 | 0 replies | |
| 27/48 | OvmfPkg/VirtioFsDxe: erase the dir. entry in EFI_FILE_PROTOCOL.Delete()OvmfPkg/ | +41 | 0 replies | |
| 28/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_STATFSOvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +127 | 0 replies | |
| 29/48 | OvmfPkg/VirtioFsDxe: add helper for formatting UEFI basenamesOvmfPkg/ OvmfPkg/ | +68 | 0 replies | |
| 30/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.GetInfo()OvmfPkg/ OvmfPkg/ | +194 | 0 replies | |
| 31/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.GetPosition, .SetPositionOvmfPkg/ OvmfPkg/ OvmfPkg/ +2 more | +50 | 0 replies | |
| 32/48 | OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_READ / FUSE_READDIRPLUSOvmfPkg/ OvmfPkg/ OvmfPkg/ +2 more | +276 | 0 replies | |
| 33/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Read() for regular filesOvmfPkg/ | +74 | 0 replies | |
| 34/48 | OvmfPkg/VirtioFsDxe: convert FUSE dirent filename to EFI_FILE_INFOOvmfPkg/ OvmfPkg/ | +85 | 0 replies | |
| 35/48 | OvmfPkg/VirtioFsDxe: add EFI_FILE_INFO cache fields to VIRTIO_FS_FILEOvmfPkg/ OvmfPkg/ OvmfPkg/ +3 more | +42 | 0 replies | |
| 36/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Read() for directoriesOvmfPkg/ | +342 | 0 replies | |
| 37/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Flush()OvmfPkg/ | +25 | 0 replies | |
| 38/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_WRITEOvmfPkg/ OvmfPkg/ OvmfPkg/ +2 more | +196 | 0 replies | |
| 39/48 | OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Write()OvmfPkg/ | +62 | 0 replies | |
| 40/48 | OvmfPkg/VirtioFsDxe: handle the volume label in EFI_FILE_PROTOCOL.SetInfoOvmfPkg/ | +225 | 0 replies | |
| 41/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_RENAME2OvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +156 | 0 replies | |
| 42/48 | OvmfPkg/VirtioFsDxe: add helper for composing rename/move destination pathOvmfPkg/ OvmfPkg/ | +202 | 3 replies | |
| 43/48 | OvmfPkg/VirtioFsDxe: handle file rename/move in EFI_FILE_PROTOCOL.SetInfoOvmfPkg/ | +233 | 0 replies | |
| 44/48 | OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_SETATTROvmfPkg/ OvmfPkg/ OvmfPkg/ +1 more | +219 | 0 replies | |
| 45/48 | OvmfPkg/VirtioFsDxe: add helper for determining file size updateOvmfPkg/ OvmfPkg/ | +48 | 0 replies | |
| 46/48 | OvmfPkg/VirtioFsDxe: add helper for determining access time updatesOvmfPkg/ OvmfPkg/ | +116 | 0 replies | |
| 47/48 | OvmfPkg/VirtioFsDxe: add helper for determining file mode bits updateOvmfPkg/ OvmfPkg/ OvmfPkg/ | +106 | 0 replies | |
| 48/48 | OvmfPkg/VirtioFsDxe: handle attribute updates in EFI_FILE_PROTOCOL.SetInfoOvmfPkg/ | +106 | 0 replies |
Reviews trailers per patch
None of the 48 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ard Biesheuvel |
|---|---|
| Series | A-b A-b A-b A-b |
| 1/48 | |
| 2/48 | |
| 3/48 | |
| 4/48 | |
| 5/48 | |
| 6/48 | |
| 7/48 | |
| 8/48 | |
| 9/48 | |
| 10/48 | |
| 11/48 | |
| 12/48 | |
| 13/48 | |
| 14/48 | |
| 15/48 | |
| 16/48 | |
| 17/48 | |
| 18/48 | |
| 19/48 | |
| 20/48 | |
| 21/48 | |
| 22/48 | |
| 23/48 | |
| 24/48 | |
| 25/48 | |
| 26/48 | |
| 27/48 | |
| 28/48 | |
| 29/48 | |
| 30/48 | |
| 31/48 | |
| 32/48 | |
| 33/48 | |
| 34/48 | |
| 35/48 | |
| 36/48 | |
| 37/48 | |
| 38/48 | |
| 39/48 | |
| 40/48 | |
| 41/48 | |
| 42/48 | |
| 43/48 | |
| 44/48 | |
| 45/48 | |
| 46/48 | |
| 47/48 | |
| 48/48 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Virtio-fs] [edk2 PATCH 00/48] ArmVirtPkg, OvmfPkg: virtio filesystem driver
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3097 Repo: https://pagure.io/lersek/edk2.git Branch: virtio-fs (@ b8fd76d649d2)
The first commit and the bugzilla ticket state the use case.
References, including setup instructions:
- https://libvirt.org/kbase/virtiofs.html
- https://virtio-fs.gitlab.io/
Useful UEFI shell commands for testing: output redirections, attrib, connect, cp, disconnect, edit, eficompress, efidecompress, hexedit, ls, map, mkdir, mv, rm, setsize, timezone, touch, type, vol.
The series is largely structured as follows:
- helper functions and FUSE command wrappers are implemented as required by the next EFI_FILE_PROTOCOL interface,
- said EFI_FILE_PROTOCOL interface is implemented,
- lather, rinse, repeat.
Thanks,
Laszlo
Laszlo Ersek (48):
OvmfPkg: introduce VirtioFsDxe
ArmVirtPkg: include VirtioFsDxe in the ArmVirtQemu* platforms OvmfPkg/VirtioFsDxe: DriverBinding: open VirtioDevice, install
SimpleFs
OvmfPkg/VirtioFsDxe: implement virtio device (un)initialization OvmfPkg/VirtioFsDxe: add a scatter-gather list data type OvmfPkg/VirtioFsDxe: introduce the basic FUSE request/response headers OvmfPkg/VirtioFsDxe: map "errno" values to EFI_STATUS OvmfPkg/VirtioFsDxe: submit the FUSE_INIT request to the device OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_OPENDIR OvmfPkg/VirtioFsDxe: add shared wrapper for FUSE_RELEASE /
FUSE_RELEASEDIR
OvmfPkg/VirtioFsDxe: implement
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL.OpenVolume()
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_FORGET OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_FSYNC /
FUSE_FSYNCDIR
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_FLUSH OvmfPkg/VirtioFsDxe: flush, sync, release and forget in Close() /
Delete()
OvmfPkg/VirtioFsDxe: add helper for appending and sanitizing paths OvmfPkg/VirtioFsDxe: manage path lifecycle in OpenVolume, Close,
Delete
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_OPEN OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_MKDIR OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_CREATE OvmfPkg/VirtioFsDxe: convert FUSE inode attributes to EFI_FILE_INFO OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_LOOKUP OvmfPkg/VirtioFsDxe: split canon. path into last parent + last
component
OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_UNLINK / FUSE_RMDIR OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_GETATTR OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Open() OvmfPkg/VirtioFsDxe: erase the dir. entry in
EFI_FILE_PROTOCOL.Delete()
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_STATFS OvmfPkg/VirtioFsDxe: add helper for formatting UEFI basenames OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.GetInfo() OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.GetPosition,
.SetPosition
OvmfPkg/VirtioFsDxe: add a shared wrapper for FUSE_READ /
FUSE_READDIRPLUS
OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Read() for regular
files
OvmfPkg/VirtioFsDxe: convert FUSE dirent filename to EFI_FILE_INFO OvmfPkg/VirtioFsDxe: add EFI_FILE_INFO cache fields to VIRTIO_FS_FILE OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Read() for
directories
OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Flush() OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_WRITE OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.Write() OvmfPkg/VirtioFsDxe: handle the volume label in
EFI_FILE_PROTOCOL.SetInfo
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_RENAME2 OvmfPkg/VirtioFsDxe: add helper for composing rename/move destination
path
OvmfPkg/VirtioFsDxe: handle file rename/move in
EFI_FILE_PROTOCOL.SetInfo
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_SETATTR OvmfPkg/VirtioFsDxe: add helper for determining file size update OvmfPkg/VirtioFsDxe: add helper for determining access time updates OvmfPkg/VirtioFsDxe: add helper for determining file mode bits update OvmfPkg/VirtioFsDxe: handle attribute updates in
EFI_FILE_PROTOCOL.SetInfo
ArmVirtPkg/ArmVirtQemu.dsc | 3 +- ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 3 +- ArmVirtPkg/ArmVirtQemuKernel.dsc | 3 +- OvmfPkg/Include/IndustryStandard/Virtio10.h | 5 + OvmfPkg/Include/IndustryStandard/VirtioFs.h | 454 ++++ OvmfPkg/OvmfPkgIa32.dsc | 2 + OvmfPkg/OvmfPkgIa32.fdf | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 2 + OvmfPkg/OvmfPkgIa32X64.fdf | 1 + OvmfPkg/OvmfPkgX64.dsc | 2 + OvmfPkg/OvmfPkgX64.fdf | 1 + OvmfPkg/VirtioFsDxe/DriverBinding.c | 232 ++ OvmfPkg/VirtioFsDxe/FuseFlush.c | 111 + OvmfPkg/VirtioFsDxe/FuseForget.c | 85 + OvmfPkg/VirtioFsDxe/FuseFsync.c | 121 + OvmfPkg/VirtioFsDxe/FuseGetAttr.c | 116 + OvmfPkg/VirtioFsDxe/FuseInit.c | 142 ++ OvmfPkg/VirtioFsDxe/FuseLookup.c | 148 ++ OvmfPkg/VirtioFsDxe/FuseMkDir.c | 134 ++ OvmfPkg/VirtioFsDxe/FuseOpen.c | 126 + OvmfPkg/VirtioFsDxe/FuseOpenDir.c | 120 + OvmfPkg/VirtioFsDxe/FuseOpenOrCreate.c | 155 ++ OvmfPkg/VirtioFsDxe/FuseRead.c | 191 ++ OvmfPkg/VirtioFsDxe/FuseRelease.c | 121 + OvmfPkg/VirtioFsDxe/FuseRename.c | 131 ++ OvmfPkg/VirtioFsDxe/FuseSetAttr.c | 174 ++ OvmfPkg/VirtioFsDxe/FuseStatFs.c | 102 + OvmfPkg/VirtioFsDxe/FuseUnlink.c | 114 + OvmfPkg/VirtioFsDxe/FuseWrite.c | 155 ++ OvmfPkg/VirtioFsDxe/Helpers.c | 2416 ++++++++++++++++++++ OvmfPkg/VirtioFsDxe/SimpleFsClose.c | 68 + OvmfPkg/VirtioFsDxe/SimpleFsDelete.c | 110 + OvmfPkg/VirtioFsDxe/SimpleFsFlush.c | 42 + OvmfPkg/VirtioFsDxe/SimpleFsGetInfo.c | 209 ++ OvmfPkg/VirtioFsDxe/SimpleFsGetPosition.c | 27 + OvmfPkg/VirtioFsDxe/SimpleFsOpen.c | 505 ++++ OvmfPkg/VirtioFsDxe/SimpleFsOpenVolume.c | 98 + OvmfPkg/VirtioFsDxe/SimpleFsRead.c | 434 ++++ OvmfPkg/VirtioFsDxe/SimpleFsSetInfo.c | 582 +++++ OvmfPkg/VirtioFsDxe/SimpleFsSetPosition.c | 67 + OvmfPkg/VirtioFsDxe/SimpleFsWrite.c | 81 + OvmfPkg/VirtioFsDxe/VirtioFsDxe.h | 544 +++++ OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf | 136 ++ 43 files changed, 8271 insertions(+), 3 deletions(-) create mode 100644 OvmfPkg/Include/IndustryStandard/VirtioFs.h create mode 100644 OvmfPkg/VirtioFsDxe/DriverBinding.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseFlush.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseForget.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseFsync.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseGetAttr.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseInit.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseLookup.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseMkDir.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseOpen.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseOpenDir.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseOpenOrCreate.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseRead.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseRelease.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseRename.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseSetAttr.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseStatFs.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseUnlink.c create mode 100644 OvmfPkg/VirtioFsDxe/FuseWrite.c create mode 100644 OvmfPkg/VirtioFsDxe/Helpers.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsClose.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsDelete.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsFlush.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsGetInfo.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsGetPosition.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsOpen.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsOpenVolume.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsRead.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsSetInfo.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsSetPosition.c create mode 100644 OvmfPkg/VirtioFsDxe/SimpleFsWrite.c create mode 100644 OvmfPkg/VirtioFsDxe/VirtioFsDxe.h create mode 100644 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
base-commit: e6ae24e1d676bb2bdc0fc715b49b04908f41fc10
Signature · 1 line
2.19.1.3.g30247aa5d201