Skip to content

Platforms and Limits

Which hosts Barn runs on, which guests it supports, and the limits worth knowing before you plan a lab.

Check here whether Barn runs on your machine, which guest systems it can boot, and which limits might matter for your lab. Barn is built for local development and testing, not for hosting production services.

Version covered

The platform tables below apply to Barn 1.5.0. Run barn version to check your installation. The Linux image catalog can change independently through barn update. See the 1.5.0 release notes and version history of CLI options.

Hosts

HostLinux guestsmacOS guests
macOS on Apple SiliconYes — QEMU 8.2.1+ with HVFYes — macOS 27 or later on the host, Barn.app
macOS on IntelYes — QEMU 8.2.1+ with HVFNo
Linux on amd64 or arm64Yes — QEMU 6.2+ with KVM, NetworkManager or systemd-networkdNo
WindowsNo native release; run Barn on a Linux host instead (options)No

Release binaries cover all four macOS and Linux targets. Day-to-day testing on real hypervisors runs on Apple Silicon Macs and amd64 Linux. barn doctor checks a host’s readiness, and barn setup --dry-run shows what Barn would install.

Linux guests

The built-in image catalog offers nine distribution families, each built for both CPU architectures unless noted. New labs in 1.5.0 default to Debian 13. On Barn 1.4.0, select it with barn init -I d13.

FamilyNameArchitecturesNotes
Debian 13d13amd64, arm64Default in 1.5.0
Debian 12d12amd64, arm64
Ubuntu 26.04 LTSu26amd64, arm64
Ubuntu 24.04 LTSu24amd64, arm64
Ubuntu 22.04 LTSu22amd64, arm64Deprecated
Rocky Linux 10el10amd64, arm64
Rocky Linux 9el9amd64, arm64
Rocky Linux 8el8amd64, arm64Deprecated; on Apple Silicon the arm64 image runs under emulation, because its 64 KiB page kernel cannot run on HVF
CentOS 7el7amd64Deprecated, end of life; native amd64 Linux hosts only

Deprecated images still run, for compatibility testing, but support for them is being phased out. Exact versions, aliases, and how the catalog is updated are in Linux Images.

Limits:

  • One lab per user. All nodes live on one private /24, so a lab can hold as many nodes as that subnet has addresses and your host has memory for.
  • One guest architecture per lab. A guest of the other architecture runs under QEMU’s TCG emulation. It works for compatibility testing but is much slower, so do not use it for performance numbers.
  • Host shares need 9p. vm_shares mounts host directories over Virtio-9p, which needs 9p support in both QEMU and the guest kernel. Where that is missing, copy files over SSH instead (Storage and Access).
  • No snapshots or suspend. barn stop shuts the guest down; barn start boots it again. Guest memory is not saved.

macOS guests

barn mac needs an Apple Silicon Mac running macOS 27 or later, a logged-in desktop session, and Barn.app from the same release as the CLI. It does not use QEMU or the Linux lab’s host network, and it does not need sudo. Guests run macOS 27. On a fresh installation, Barn 1.5.0 selects macOS 27.2.1 (26B131) by default. You can choose a compatible local IPSW or select a newer base with barn mac image update.

Limits:

  • Two running VMs per Mac. Apple’s framework allows at most two macOS VMs running at once, across all apps on the Mac, including a base image being installed. You can keep any number stopped.
  • Disk space. The first VM needs about 65 GiB free for Apple’s restore image and the base installation. Details
  • Framework features. USB passthrough, VM snapshots, and suspend/resume are not available. macOS may restrict Apple Account sign-in inside a virtual machine.

Mac VMs are separate from the Linux lab: barn status, barn destroy, and barn purge never touch them. Use barn mac ls and barn mac doctor instead. macOS VMs guide

Your data

Barn VMs are meant to be rebuilt. Root disks are replaced by recreate and deleted by destroy; only data disks marked persistent: true survive both. Keep anything you cannot regenerate on the host or in version control. What survives each operation

Table reader