Skip to content

About

Unified toolkit: macOS KVM virtualization, Linux filesystem access on macOS, compatibility tools, and BTRFS+DwarFS hybrid storage — all via Incus.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

[update-readmes] Mode: rewrite — migrating to template structure...

Incus-MacOS-Toolkit

AI agent ready Open in Codex Open in Claude Code Open in GitHub Copilot Open in Cursor Use with Gemini CLI KDE Eco Blue Angel

This project provides a unified toolkit for macOS users to address cross-platform compatibility and virtualization needs. It enables macOS KVM virtualization using QEMU, facilitates access to Linux filesystems on macOS and Windows, offers compatibility tools for macOS and Linux interoperability, and implements a hybrid BTRFS+DwarFS storage framework. It is designed for developers and system administrators working in mixed macOS and Linux environments.

Architecture

The project consists of four main components, each addressing specific functionality:

  1. macos-vm/: Implements macOS virtualization using KVM via QEMU and Incus.
  2. linuxfs/: Provides Linux filesystem access on macOS and Windows through a Go-based CLI.
  3. compat/: Offers compatibility tools for macOS and Linux, including utilities like linuxify, mlsblk, and bsdcoreutils.
  4. btrfs-dwarfs/: Combines BTRFS and DwarFS into a hybrid filesystem framework, including a kernel module and userspace tools.
  5. xnulinux/: Optional, independently maintained ARM64 Linux-hosted XNU/macOS runtime, linked as a Git submodule. It complements rather than replaces the Incus/QEMU VM backend.

The components interact through shared build targets and dependencies defined in the Makefile. The xnulinux/ submodule retains its own build, kernel, hardware, and licensing requirements; see docs/xnulinux-integration.md. The Makefile provides common targets for building, testing, formatting, and installing the components. It also includes per-component targets for granular control. The PREFIX variable specifies the installation path, while KDIR points to the kernel build tree for the BTRFS+DwarFS module.

Directory structure:

.
├── .github/             # GitHub workflows and actions
├── btrfs-devel/         # Read-only BTRFS source reference
├── btrfs-dwarfs/        # Hybrid filesystem framework
├── compat/              # Compatibility tools
├── linuxfs/             # Linux filesystem access CLI
├── macos-vm/            # macOS virtualization tools
├── xnulinux/            # Optional XNU-on-Linux subsystem (Git submodule)
├── Makefile             # Build and installation rules
├── README.md            # Project documentation
└── LICENSE              # Licensing information

Install

git clone https://github.com/Interested-Deving-1896/Incus-MacOS-Toolkit.git
cd Incus-MacOS-Toolkit

Usage

Configuration

CI

The repository includes the following GitHub Actions workflows for Continuous Integration:

  1. btrfs-devel-sync.yml

    • Purpose: Syncs the btrfs-devel directory with the upstream kdave/btrfs-devel repository to keep the source reference up to date.
    • Triggers: Scheduled daily at midnight UTC.
    • Required Secrets:
      • UPSTREAM_REPO: URL of the upstream repository.
      • GITHUB_TOKEN: Automatically provided by GitHub for authentication.
  2. mirror-osp-to-ooc.yaml

    • Purpose: Mirrors the repository from the open-source project (OSP) namespace to an out-of-core (OOC) namespace for external distribution.
    • Triggers: Push events to the main branch.
    • Required Secrets:
      • OOC_REPO_URL: URL of the target repository for mirroring.
      • GITHUB_TOKEN: Automatically provided by GitHub for authentication.

Ensure the required secrets are configured in the repository settings for workflows to execute successfully.

Mirror chain

This repo is maintained in Interested-Deving-1896/Incus-MacOS-Toolkit and mirrored through:

Interested-Deving-1896/Incus-MacOS-Toolkit  ──►  OpenOS-Project-OSP/Incus-MacOS-Toolkit  ──►  OpenOS-Project-Ecosystem-OOC/Incus-MacOS-Toolkit

Changes flow downstream automatically via the hourly mirror chain in fork-sync-all. Direct commits to OSP or OOC are detected and opened as PRs back to Interested-Deving-1896.

Contributors

Contributor Commits
@Interested-Deving-1896 78
@ona-agent 2

Origins

Original project — unified toolkit for macOS KVM virtualisation and Linux filesystem access on macOS via Incus.

Origin Host Fork in I-D-1896
lxc/incus GitHub ✅

Resources

File Description
dep-graph/origins.md Dependency graph (Markdown table)

Accessibility

This repo uses automated accessibility auditing via check-accessibility.yml.

Checks include: CODEOWNERS ownership coverage, README screen-reader compatibility, WCAG 2.1 AA HTML compliance, audio overview (espeak-ng), and Braille output (liblouis).

Run the Check Accessibility workflow to generate the first report and accessibility artifacts. See the W3C Web Content Accessibility Guidelines (WCAG) for the underlying accessibility reference.

License

GPL-3.0 © 2026 Interested-Deving-1896

About

Unified toolkit: macOS KVM virtualization, Linux filesystem access on macOS, compatibility tools, and BTRFS+DwarFS hybrid storage — all via Incus.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages