macOS 11 comes with a new Virtualization.framework that makes it straightforward to implement a “headless” virtual machine that should be able to run anything that follows the Linux “kernel, command line, initial RAM disk image” boot protocol and supports a standard set of VirtIO devices. (This is available on Macs with both Apple Silicon and Intel CPUs, though it doesn’t do CPU emulation. An example is here: <https://github.com/KhaosT/SimpleVM>.)
Has anyone built a kernel and initial RAM disk image for NetBSD for “generic” 64-bit ARM (arm64/aarch64) that I could try on Apple Silicon? (I assume such boot pieces already exist for NetBSD on 64-bit Intel; if they do, how are they named? I’d be happy to try that on Macs with Intel CPUs as well, of course.)
— Chris