-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passthrough USB devices #139
Comments
Doesn't seem to be possible at this point, see docker/for-mac#5263. Doing something similar to VirtualHere is an option, though, but most involves (1) delving into, most likely, IOUSBHost and IOKit frameworks and (2) installing the agent on each running VM that will forward the USB data packets to and from the host. Thinking of |
Let's keep the issue open for visibility. |
This can also be useful for things like passing through block devices directly, or in my case passing an optical drive straight through to a VM for isolation/testing purposes. |
What about employing https://gitlab.freedesktop.org/spice/usbredir ? |
It’d be preferable to use something like usb-ip (but for Mac, as mentioned above) because (unlike USB redirection/pass-through solutions) it would allow sharing one device with multiple guests, from what I understand. |
@geerlingguy it is now possible to pass block devices to that VMs via
In the example above |
Looks like USB Support was added to the Virtualization Framework as |
Do I understand right that it's not possible (yet?) to use block device for storing macOS VM data? |
By "storing macOS VM data" you mean the root filesystem (which is currently stored in |
I assume even though block devices are supported, passing through a connected iPhone for debugging isn't supported yet? |
would be super useful to have iphone passthrough to VM |
We need to investigate how to passthough an iPhone connected to the host. This will be useful for running on device integration tests.
The text was updated successfully, but these errors were encountered: