I have a realtek wireless dongle that I want to pass to a qemu virtual machine. When I start the VM, the usb device shows up on both the host and in the guest as expected (shows up in lsusb, under /sys/bus/usb). However the device immediately disappears as soon as I try to bring up its associated network interface.
The odd thing is that the device not only disappears from inside the guest but also from the host. Host device entries under /sys disappear, and normal resuscitation - e.g rebinding via /sys/bus/usb/drivers/usb/[un]bind - fail short of physically disconnecting and reconnecting the device.
The only thing that gets logged when this happens is:
... kernel: usb 2-1.7: USB disconnect, device number 77 What might be causing this and how can I fix it?