Skip to content

Run simplefs virtio block validation on macOS - #758

Merged
jserv merged 1 commit into
sysprog21:masterfrom
hsule:darwin-simplefs-support
Jul 30, 2026
Merged

Run simplefs virtio block validation on macOS#758
jserv merged 1 commit into
sysprog21:masterfrom
hsule:darwin-simplefs-support

Conversation

@hsule

@hsule hsule commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

simplefs rel2026.0 reworks mkfs.simplefs to build the disk image via the native macOS disk utility, lifting the earlier Linux-only restriction. Enable the simplefs image on macOS and drop the Linux-only guards.

Bump simplefs to rel2026.0 in mk/external.mk as well, so the kernel module built from source matches the mkfs that creates the image.

Close #750


Summary by cubic

Enable simplefs virtio-block validation on macOS by generating the simplefs disk with the native macOS disk utility and removing Linux-only guards. Bumps simplefs to rel2026.0 so the kernel module matches the image builder. Closes #750.

  • New Features

    • Run simplefs VBLK tests on macOS; always include build/disk_simplefs.img.
    • On macOS: build ext4 via e2fsprogs, create simplefs image via mkfs.simplefs (macOS disk utility), attach/detach with hdiutil, and pass BLK_DEV_SIMPLEFS for cleanup.
  • Dependencies

    • Update SIMPLEFS_VERSION to rel2026.0 and refresh SHA in mk/external.mk; CI clones rel2026.0.

Written for commit a2a77ce. Summary will update on new commits.

Review in cubic

simplefs rel2026.0 reworks mkfs.simplefs to build the disk image via the
native macOS disk utility, lifting the earlier Linux-only restriction.
Enable the simplefs image on macOS and drop the Linux-only guards.

Bump simplefs to rel2026.0 in mk/external.mk as well, so the kernel
module built from source matches the mkfs that creates the image.

Close sysprog21#750
cubic-dev-ai[bot]

This comment was marked as resolved.

@jserv
jserv merged commit 77a0694 into sysprog21:master Jul 30, 2026
18 checks passed
@jserv

jserv commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Thank @hsule for contributing!

@jserv jserv added this to the release-2026.2 milestone Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Support running virtio block validation on macOS

2 participants