[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 9f815e: usb: add hostdevice property to usb-h
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 9f815e: usb: add hostdevice property to usb-host |
Date: |
Wed, 17 Jun 2020 16:30:35 +0000 (UTC) |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 9f815e83e983d247a3cd67579d2d9c1765adc644
https://github.com/qemu/qemu/commit/9f815e83e983d247a3cd67579d2d9c1765adc644
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M hw/usb/host-libusb.c
M hw/usb/trace-events
Log Message:
-----------
usb: add hostdevice property to usb-host
The new property allows to specify usb host device name. Uses standard
qemu_open(), so both file system path (/dev/bus/usb/$bus/$dev on linux)
and file descriptor passing can be used.
Requires libusb 1.0.23 or newer. The hostdevice property is only
present in case qemu is compiled against a new enough library version,
so the presence of the property can be used for feature detection.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20200605125952.13113-1-kraxel@redhat.com>
Commit: 54cdfe511219b8051046be55a6e156c4f08ff7ff
https://github.com/qemu/qemu/commit/54cdfe511219b8051046be55a6e156c4f08ff7ff
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M hw/usb/host-libusb.c
Log Message:
-----------
usb-host: workaround libusb bug
libusb seems to no allways call the completion callback for requests
canceled (which it is supposed to do according to the docs). So add
a limit to avoid qemu waiting forever.
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20200529072225.3195-1-kraxel@redhat.com>
Commit: 26bf4a29213b432eb390726c698a1915550a9cf9
https://github.com/qemu/qemu/commit/26bf4a29213b432eb390726c698a1915550a9cf9
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M hw/usb/host-libusb.c
M hw/usb/trace-events
Log Message:
-----------
Merge remote-tracking branch 'remotes/kraxel/tags/usb-20200617-pull-request'
into staging
usb-host: add hostdevice property, workaround libusb bug
# gpg: Signature made Wed 17 Jun 2020 11:47:37 BST
# gpg: using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138
* remotes/kraxel/tags/usb-20200617-pull-request:
usb-host: workaround libusb bug
usb: add hostdevice property to usb-host
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/5c24bce3056f...26bf4a29213b
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 9f815e: usb: add hostdevice property to usb-host,
Peter Maydell <=