Skip to content

0.1.2: the runner is dirun; the specification by its minor version - #3

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/0.1.2-dirun
Nov 13, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
feat/0.1.2-dirun

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 13, 2026 •

Copy link
Copy Markdown
Member
  • tools/vm-runner runs the program in a FreeBSD machine by dirun (0.3.0), with the image's profile: dirun.toml beside the image, as the xim package freebsd-disk-image installs it, else tools/freebsd.toml. The program is delivered on a read-only FAT disk and run from its copy with an empty standard input; OPENKAL_* and KAL_* are passed; a test runner's events are read back from the machine; the run is limited to OKF_VM_TIMEOUT seconds (1800, as before). The README's declaration (runner = ["/path/to/openkal-freebsd/tools/vm-runner", "{}"]) keeps working.
  • tools/vm-run.py, a second implementation of the same conversation, is removed (mcpp design 2026-11-12, 5.5 and C13).
  • The manifest declares openkal = "^0.25.0" (openkal clause 8), so openkal-platform's group can follow openkal 0.25.1.

Measured locally: a program run through vm-runner against the FreeBSD 14.5 image (delivered, OPENKAL_*/KAL_* passed, status 9, an mtest event relayed), 19 s under KVM.

  • Measured locally: the specification's conformance suite in the standalone arrangement (x86_64-freebsd-musl), run through tools/vm-runner against the FreeBSD 14.5 image: 333 held, 0 did not hold, 12 not observed. The command line the suite is started with (600 characters) is longer than the serial console takes; dirun writes it to the files disk and runs it from there ([command] line-max in tools/freebsd.toml).

tools/vm-runner runs the program by dirun with the image's profile (beside the
image, as freebsd-disk-image installs it, else tools/freebsd.toml), passing
OPENKAL_* and KAL_*; a test runner's events come back from the machine, and the
run is limited to OKF_VM_TIMEOUT seconds (1800). tools/vm-run.py, a second
implementation of the same conversation, is removed. The manifest declares
openkal = "^0.25.0" (openkal clause 8).
@Sunrisepeak
Sunrisepeak merged commit 46d89ea into main Nov 13, 2026
5 checks passed
@Sunrisepeak
Sunrisepeak deleted the feat/0.1.2-dirun branch November 13, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant