aboutsummaryrefslogtreecommitdiff
path: root/target-tricore
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-06-03 11:12:55 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-06-13 13:17:06 +0200
commite058fa2dd599ccc780d334558be9c1d155222b80 (patch)
treeafedd087e8c778c1295582f471b985b44b87627b /target-tricore
parentda2fdd0bd1514a44309dd5be162ebfb6c166a716 (diff)
usb-host: add special case for bus+addr
This patch changes usb-host behavior in case we hostbus= and hostaddr= properties are used to identify the usb device in question. Instead of adding the device to the hotplug watchlist we try to open directly using the given bus number and device address. Putting a device specified by hostaddr to the hotplug watchlist isn't a great idea as the address isn't a fixed property. It changes every time the device is plugged in. So considering this case as "use the device at bus:addr _now_" is more sane. Also usb-host will throw errors in case it can't initialize the host device. Note: For devices on the hotplug watchlist (hostport or vendorid or productid specified) qemu continues to ignore errors and keeps monitoring the usb bus to see if the device eventually shows up. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1464945175-28939-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'target-tricore')
0 files changed, 0 insertions, 0 deletions