-
Notifications
You must be signed in to change notification settings - Fork 0
QEMU on macOS
André Borchert edited this page Jun 13, 2026
·
12 revisions
This page defines the first engineering target for OSAI.
QEMU on macOS is for correctness only. It gives a reproducible target for boot architecture, kernel basics, device model, userspace lifecycle, and AI Cell API shape. No performance claims count from QEMU.
Initial target:
arch: x86-64
firmware: UEFI OVMF
machine: q35
memory: 2 GiB
smp: 4 cores
storage: EFI FAT image, later VirtIO block
network: VirtIO net with host port forwarding
console: serial stdio
The QEMU milestone includes:
- UEFI boot;
- serial console;
- memory map parsing;
- physical memory manager;
- page tables;
- exceptions and interrupts;
- timers;
- VirtIO block;
- VirtIO net;
- minimal shell or control plane;
- first AI Cell lifecycle shape;
- shared model arena MVP.
The system boots in QEMU, prints deterministic serial logs, reaches kernel entry, loads a minimal init, discovers VirtIO block/network, and exposes a basic control path.
Exact acceptance gates:
- boot log appears on serial stdio;
- UEFI loader hands off to
kernel.elf; - PMM prints usable, reserved, and total memory;
- VMM maps kernel text read/execute, rodata read-only, and data read/write;
- controlled page fault is reported with address and error code;
- SMP starts all configured QEMU CPUs and records per-core state;
- minimal init logs through a syscall and exits cleanly;
- VirtIO block reads a known test block;
- VirtIO net exchanges a test packet;
- AI Cell can be created and destroyed in simulation;
- shared model arena MVP maps one read-only object into two simulated cells.
- macOS host tools differ by architecture and installation path.
- QEMU success does not prove real hardware performance.
- UEFI memory-map assumptions must be tested, not hardcoded.
This page defines the GitHub Wiki navigation sidebar.
- Architecture
- AI Cells
- CPU AI Runtime
- App Agents
- Memory System
- Networking
- Scheduler and Core Isolation
- Filesystem and Storage
- Driver Model
- Security Model
- Build System
- Build System
- Project Tracker
- Implementation Plan
- QEMU Full OS Core Workdown
- QEMU 100 Completion Plan
- Example Apps
- Codex Work Packages
- Testing and Benchmarking