Skip to main content

max / alloy

Ignore every vmtest state directory, not only the default one VM_STATE is a documented knob and a run pointed elsewhere writes the same qcow2 targets and firmware vars there. Keeping a second machine beside the first is how the USB gate's bench tests were run: one target with the hardware under test and one without.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session
https://claude.ai/code/session_01WFBzMprSmNCfvdj2cGZyka
Author: Max Johnson <me@maxj.phd> · 2026-09-08 19:45 UTC
Signed with PGP, not checked
Commit: c41f27f672ddae6ebe8709dca9a45167197ff06f
Parent: c9debbb
1 file changed, +5 insertions, -1 deletion
M .gitignore +5 -1
@@ -57,7 +57,11 @@
57 57 credentials.json
58 58
59 59 # vmtest scratch: qcow2 targets, firmware vars, vTPM state, screendumps.
60 - /build/vmtest/state/
60 + # The glob rather than the one directory, because `VM_STATE` is a documented
61 + # knob and a run that points it elsewhere writes the same things there. A
62 + # second machine kept beside the first is how the USB gate's bench tests were
63 + # run: one target with the hardware under test, one without.
64 + /build/vmtest/state*/
61 65
62 66 # layertest scratch: RPMs, the generated repo, the target disk, firmware vars.
63 67 /build/layertest/state/