Skip to content

feat: run the steps of another architecture through the host's qemu-user-static - #52

Merged
The127 merged 4 commits into
mainfrom
host-emulator
Oct 11, 2026
Merged

The127 merged 4 commits into
mainfrom
host-emulator

Conversation

@The127

@The127 The127 commented Oct 11, 2026

Copy link
Copy Markdown
Owner

A build for the other architecture now uses the qemu-x86_64-static or qemu-aarch64-static that the host's package manager installs. miso no longer downloads a pinned qemu-user package, so QEMU fixes reach users through their package manager, not through a new miso release.

  • miso finds the program on PATH. Debian, Fedora and Arch all ship it under these names.
  • If it is missing, miso names the qemu-user-static package.
  • If it needs a dynamic loader or is built for another machine, miso refuses it with the init's check and names the file.
  • The emulator is registered with binfmt_misc under its own path. Upstream QEMU keeps argv[0] through the kernel's P flag, so the Debian-only -binfmt-P name is gone.
  • The deb and rpm packages recommend qemu-user-static.

Not tested on real hardware yet: a cross build with a distribution's qemu-user-static.

Docs: I checked them and updated cli.md.

The127 and others added 4 commits October 11, 2026 14:46
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: karo <karolin.kostial@gmail.com>
…ser-static

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: karo <karolin.kostial@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: karo <karolin.kostial@gmail.com>
…s from

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: karo <karolin.kostial@gmail.com>
@codecov

codecov Bot commented Oct 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.13%. Comparing base (5196ee1) to head (4ce691a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   56.10%   56.13%   +0.03%     
==========================================
  Files         288      288              
  Lines        4761     4756       -5     
==========================================
- Hits         2671     2670       -1     
+ Misses       2090     2086       -4     
Flag Coverage Δ
unit 56.13% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@The127
The127 merged commit 8af82c9 into main Oct 11, 2026
10 checks passed
@The127
The127 deleted the host-emulator branch October 11, 2026 12:54
@the127-release the127-release Bot mentioned this pull request Oct 11, 2026
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