Ask Your Question

iPhone redirect into KVM windows 7 guest

asked 2017-03-03 13:19:36 -0500

lucodealethea gravatar image

Hi Dear Community, Today I wanted to mount an iPhone inside a KVM-based VM. My host is Fedora 25, the guest is Windows 7. Well, it didn’t quite work because the host kept stealing back the phone’s USB connection. The culprit is supposedly usbmuxd.How can I configure to make sure this iPhone is not first hold over by Fedora host when I try to redirect in libvirt/redirect USB menu ?


edit retag flag offensive close merge delete


how do you install Windows 7 guest ?

sergiomb gravatar imagesergiomb ( 2017-03-03 17:13:21 -0500 )edit

Not really a proper answer, but if possible try passing through the USB port itself to your VM. While this would mean anything that you plug in on that port would get passed through, you could unplug and replug at will without the host caring what it is you are attaching.

Michael_G gravatar imageMichael_G ( 2017-03-03 20:40:43 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-04-16 11:23:01 -0500

lucodealethea gravatar image

updated 2017-04-16 11:23:29 -0500

This happened again with recent upgrades.

I initially solved it with $ sudo touch /etc/udev/rules.d/39-usbmuxd.rules

since guilty seemed to be usbmuxd USB multiplexing daemon that take cares of communications with iOS devices and Linux. To temporarily override its behavior I added an empty udev rules file: it takes precedence over the original rules in /lib/udev/rules.d, and no longer trigger the usbmuxd host daemon whenever an iPhone is detected on the USB host...

Then, the trick stopped to work with recent upgrades...

And to resolve the host hold error message in Redirect Ub in the guest virtual machine, I checked in the host Network Manager Connections and deleted what ever host iPhone preemptive connections...

Hope this helps anyone else.



edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-03-03 13:19:36 -0500

Seen: 934 times

Last updated: Apr 16 '17