]> git.ipfire.org Git - thirdparty/qemu.git/commit
usb-host: skip reset for untouched devices
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 22 May 2019 09:47:01 +0000 (11:47 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 29 May 2019 05:03:56 +0000 (07:03 +0200)
commit65f14ab98da1da920f98ee8734dc1588b01d6b2b
tree654cc486a7ff5f93a0e132b5c10dc9e7cd956ac3
parent7ed4657396add28382081a15557c78cd480c1cf1
usb-host: skip reset for untouched devices

If the guest didn't talk to the device yet, skip the reset.
Without this usb-host devices get resetted a number of times
at boot time for no good reason.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190522094702.17619-3-kraxel@redhat.com
hw/usb/host-libusb.c