Skip to content

Label local ISOs for this computer and give a joined ARM machine a USB controller. - #1276

Open
calledtoconstruct wants to merge 1 commit into
MyOwnDataCenter:mainfrom
calledtoconstruct:fix/arm-local-iso
Open

calledtoconstruct wants to merge 1 commit into
MyOwnDataCenter:mainfrom
calledtoconstruct:fix/arm-local-iso

Conversation

@calledtoconstruct

@calledtoconstruct calledtoconstruct commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

A local ISO now uses this computer's architecture, so it shows up on Apple Silicon. A virtual machine on a joined ARM computer gets a USB controller for its tablet, the same way a virtual machine on this computer already does.

Fixes #949.

How you tested it

  • npm run typecheck, npm run build and npm test pass
  • Tried on a real Omarchy machine or VM (say which), if it touches install.sh, the helper, apps, machines or storage

test/machines.test.mjs passed (45 tests), including a local ISO labeled arm64 on an ARM server and amd64 on an x86 server. connector/test_vm_helper.py passed for the ARM USB controller and the existing x86 domain, which stays without qemu-xhci. Full npm test, typecheck, and the production build were not run. Not tried on Apple Silicon.

Anything to know

An x86 computer already has a USB controller, so its domain is unchanged. Version and What's New are unchanged.


Note

Low Risk
Targeted VM XML and ISO metadata fixes with clear arch gating; x86 behavior is explicitly preserved in tests.

Overview
Local ISOs discovered under Home are no longer always labeled amd64; they use the machine module’s arch, so the same file shows as arm64 on Apple Silicon and stays amd64 on x86.

On ARM virt guests, domain_xml now injects a qemu-xhci USB controller when a tablet or USB passthrough devices are requested, avoiding libvirt’s “USB is disabled for this domain.” q35 / amd64 domains are unchanged and still omit qemu-xhci.

Tests cover ARM vs x86 USB XML, x86 define without qemu-xhci, and local ISO arch on both architectures.

Reviewed by Cursor Bugbot for commit 5e99b5f. Bugbot is set up for automated code reviews on this repo. Configure here.

…B controller.

A local ISO now uses this computer's architecture, so it shows up on Apple Silicon. A virtual machine on a joined ARM computer gets a USB controller for its tablet.

Fixes MyOwnDataCenter#949.

Co-Authored-By: Grok 4.7 <grok@x.ai>
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.

0.9.75 on Apple Silicon (M1 Air, aarch64): install works, VMs blocked by catalog and UEFI firmware

1 participant