ARM64 static-partitioning hypervisor

Isolation you can check.

HAVEN gives each partition its own CPUs, memory, interrupts and DMA devices, fixed at build time. A separate read-back tool then reads what the hardware really enforces and compares it with the grant.

Master's thesis artifact, Computer Engineering (UIT). Evidence so far: QEMU.

HAVEN in the ARM64 stackTwo partitions at EL1 (Linux with KDAL, and an RTOS) run on HAVEN at EL2, which programs stage-2 translation, the SMMU, the GIC and CPU time budgets. Firmware runs at EL3. A separate read-back tool reads the enforced hardware state and compares it with the grant.EL1EL2EL3HWPartition ALinux v6.18 + KDALPartition BRTOS / bare metalHAVENstatic partitions, fixed at build timeStage-2SMMUv3GICv3CPU budgetsFirmware: TF-A (EL3), then UEFI or U-BootHardware statepage tables · stream tables · routing · timersRead-backoutside HAVENgrant.jsonmatch orfindingreads

What works today

Where it stands

As of 2026-11-06, in QEMU. Details on the HAVEN overview.

  • WorkingStage-2 memory isolationWorking, read back
  • WorkingDMA isolation (SMMUv3)One table per granted stream; DMA blocked outside its window
  • WorkingInterrupts (GICv3)Owned per partition, hardware-linked virtual interrupts
  • WorkingCPU time budgetsEnforced by the EL2 timer, read back
  • WorkingRead-backStage-2, SMMU, GIC, HAVEN's own map and timer; seeded-fault case sets
  • WorkingLinux as a partitionRuns with working interrupts; KDAL's demand checked against the grant, read-back matches
  • PlannedCIX P1 boardNot started (board planned, end of 2026)

Get it

Run HAVEN without a board

No board needed. Until the next release you build the bundle once (it needs the ARM64 cross toolchain); then you see two partitions on two CPUs, read-back reporting that the enforced state matches the grant, then a seeded fault that only read-back finds.

Needs qemu-system-aarch64 9.2 or later, python3 and dtc. macOS: brew install qemu dtc. Debian and Ubuntu: sudo apt install qemu-system-arm python3 device-tree-compiler.

# the prebuilt release try-20261115.1
curl -LO https://github.com/NguyenTrongPhuc552003/haven/releases/download/try-20261115.1/haven-try-v0.6.0-425-g13dd128.tar.gz
tar xzf haven-try-v0.6.0-425-g13dd128.tar.gz
cd haven-try-v0.6.0-425-g13dd128/ && ./try.sh

# or, with ELMOS
elmos demo haven
elmos demo linux

The research question

Can independent read-back of enforced hardware state (stage-2, SMMU, GIC) find enforcement drift that policy tests and configuration checks cannot, without growing HAVEN's trusted code?

How this narrows against prior work: related work.

FAQ

Questions

What does read-back mean?

After HAVEN has configured the hardware, a separate tool stops the machine and reads what the hardware actually enforces: stage-2 page tables, SMMU stream tables, the interrupt controller's routing and priorities, HAVEN's own memory map. It compares that with the grant, the declared list of what each partition may use.

How is this different from Xen, KVM or Jailhouse?

HAVEN does not try to beat them on features, ecosystem or certification. It sits at the same level (EL2) as Xen dom0less and Bao. Its contribution is evidence: a check that the isolation the hardware enforces matches the declared configuration, which open static-partitioning hypervisors do not produce today.

Which hardware?

All current evidence comes from QEMU's virt machine. The thesis board is an Orange Pi 6 Plus with the CIX P1 SoC (twelve Arm cores, GICv3, SMMUv3, MPAM); the Radxa Orion O6 is a reference variant. NXP i.MX ports are legacy.

Can I use it in a product?

No. HAVEN is a research prototype for a Master's thesis, without safety certification or long-term support.