Files
reims-vgpu/scripts
vintowareandClaude Opus 5.5 560bcdb7e5 🆕 Give arm64 VMs the host's USB devices on Linux hosts
USB passthrough was refused for arm64 VMs, though nothing on a Linux host
keeps them from it: vmapple makes its own qemu-xhci with the keyboard and the
tablet, and QEMU's usb-host takes that controller's bus as it takes q35's.

An arm64 VM on a Linux host (KVM on arm64, TCG on x86-64) now takes the
devices reims-ctl usb and the interface give it, at start and while it runs.
They go on the machine's controller's bus, usb-bus.0, since the machine gives
the controller no id. On Linux its ports are raised to q35's seven with
-global, where QEMU's four put the second host device and those after it on
a full-speed hub. A Mac's command line is unchanged, and its VMs still take
no USB devices: reims-ctl lists them from sysfs alone. Its refusals now say
"USB passthrough is for VMs on Linux hosts". doctor checks usb-host and the
devices on arm64 Linux too.

The installer builds arm64 Linux's QEMU with --enable-libusb, which found
libusb by itself before, and offers the USB udev rule on every Linux host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:08:26 -08:00
..