Gerd Hoffmann wrote:
  Hi,

When enabling the -device usb-host option support for adding
automatically USB devices from the host to the guest, only one device
gets detected.

Yes. -device usb-host creates a *single* virtual usb device instance.
When a matching device on the host is found the virtual device is
plugged in, otherwise it is plugged out. In plugged out state qemu looks
now and then (every two seconds IIRC) whenever a matching device was
plugged into the host.

Try -device usb-host twice if you need two virtual usb devices.

cheers,
Gerd

Hi Gerd,

hm, if I add it multiple times and plug in a USB flashdrive, then all slots are filled up with this device (duplicated)... And Windows detects them with the result, that the "not first" devices are marked with a yellow exclamation mark in the device manager. And the next device plugged in gets then not detected because all preallocated slots are full :-(

Any ideas?

Best regards,

Erik






Reply via email to