Home
last modified time | relevance | path

Searched hist:"9 f815e83" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dtrace-events9f815e83 Fri Jun 05 07:59:52 CDT 2020 Gerd Hoffmann <kraxel@redhat.com> 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>
H A Dhost-libusb.c9f815e83 Fri Jun 05 07:59:52 CDT 2020 Gerd Hoffmann <kraxel@redhat.com> 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>