#!/usr/bin/env python3 """qemu_session.py -- one typed QEMU session against a kernel boot, and its verdict. scripts/qemu_session.py MODE ARCH [--label L] [--make "VAR=val ..."] [--no-zuse] Builds and boots `make ARCH= clean qemu` (one QEMU, in the foreground of this script). Its disks are the Makefile's defaults -- on v4, a fresh data stick and nothing else, so every boot is a first boot (plan 2026-10-29-stick-5, Task 3) -- except for the modes that ask for the minted Zuse pair (disk/zuse-scratch/) by name: copies of it, made under build/qemu-session/