Repository navigation
Apple backend: persistent per-VM physical USB prohibition before boot? #8183
Unanswered
Technocrat-CA
asked this question in
UTM Help (macOS)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Environment: UTM 5.0.8 (build 128), Apple Virtualization backend, ARM64 Linux guest, macOS 27 on Apple Silicon.
Is there a supported persistent per-VM control that prevents ALL physical USB passthrough before initial startup, during saved-state restoration and on later hotplug, even when USB devices were previously assigned to UTM at the macOS app level?
We need to preserve the emulated keyboard/mouse, a read-only ISO installer and a virtual serial Pseudo-TTY. The host keyboard/mouse use USB receivers, and an external backup device must not become accessible to the guest. Detaching devices after startup would not meet the prevention requirement.
I have not found a qualifying control in the reviewed Apple configuration schema/UI or public scripting/CLI. I am asking for confirmation, rather than assuming no control exists. In the v5.0.8 source, hasUsbRedirection appears OS-gated, startup invokes USB registration, and the CLI exposes USB list/connect/disconnect:
If this capability exists, could you identify the exact supported UI/API/configuration key, applicable version and documentation, including how to verify the saved policy and its startup/restore/hotplug scope?
If it does not exist in this version, could you explicitly confirm that and indicate whether any supported release provides it, with documentation? We are not requesting a custom patch, entitlement change, controller-removal workaround or an upgrade without prior review.
The VM is being kept stopped pending clarification. Thank you.
All reactions