vm_start
Starts a background QEMU HackiOS VM, either by booting or restoring a snapshot, to prepare Safari testing; call safari_ready when ready.
Instructions
Boot HackiOS in QEMU in the background. Takes 9 to 14 minutes under software emulation; restoring a snapshot takes about 30 s. Then call safari_ready.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | guest CPUs, default 4 | |
| seconds | No | session length in guest seconds, default 28800 (8 h); a snapshot cannot live longer than this minus its age when saved | |
| saveable | No | default true: read-only ESP, no sound device, so vm_save works | |
| snapshot | No | restore this snapshot instead of booting | |
| spinlock_timeout_us | No | kernel spinlock timeout, default 60000000 |