title: Qemu USB Passthrough iPhone disconnects repeatedly
body: <p>I've a MacOS Catalina in virtual machine (libvirt/qemu), host machine is Fedora 31. I want to passthrough an iPhone SE for iOS development. When I connect the iPhone I see it in <code>dmesg</code></p>
  
  <pre><code>[11680.439777] usb 3-1: new high-speed USB device number 2 using xhci_hcd
  [11680.457108] usb 3-1: New USB device found, idVendor=05ac, idProduct=12a8, bcdDevice= 8.04
  [11680.457116] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  [11680.457120] usb 3-1: Product: iPhone
  [11680.457124] usb 3-1: Manufacturer: Apple Inc.
  [11680.457128] usb 3-1: SerialNumber: XXXXX
  </code></pre>
  
  <p>Then I share it to MacOS VM, it disconnects and its Linux USB connection changes from <code>usb 3-1</code> to <code>usb 3-2</code>. The connection ID increments with each try to share.</p>
  
  <p>I have followed all recomendations to disable iPhone in udev rules and `gvfs-gphoto2 so Fedora doesn't care of the iPhone when connected.</p>
  
  <p>There is similar question <a href="https://stackoverflow.com/questions/52617634/how-do-i-get-qemu-usb-passthrough-to-work-for-ipad-iphone">How do I get Qemu USB Passthrough to work for iPad / iPhone?</a> but there is no answer.</p>
  
  <p>I have more observations. When I share the iPhone to Windows 10 (running in libvirt VM as well), it works, the USB connection doesn't change. When I share iPod 5 to MacOS, it works.</p>
  
  <p>So the problem is only with the iPhone shared to the MacOS. Has anyone been able to share iPhone to virtualized MacOS?</p>