utmapp / utmapp/UTM

Add host usb device in vm with utmctl

Open
#5,050 3 comments 10 reactions 0 assignees View on GitHub
enhancement scripting
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

Use case: I have a certain VM that I always want to run with a usb device in shared passthrough mode from my host machine to my guest VM. I want this VM to always be running when the host machine is on, even across reboots.

In UTM 4.1.5, I'm able to use `utmctl` to automate starting / restarting the VM with `utmctl status` and `utmctl start`. Similarly, I'd like to be able to attach the USB device via `utmctl`.

My ultimate goal is to be able to (A) use UTM's UI to create a headless VM initially, and once I get it set up the way I like it, (B) quickly daemonize it to run permanently in the background on the host machine - similar to `docker compose` with `restart: always` policy. Currently, UTM is great at (A) but does not support (B).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.