]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Introduce Xen pvUSB frontend (xen hcd)
authorJuergen Gross <jgross@suse.com>
Tue, 23 Nov 2021 13:20:47 +0000 (14:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Dec 2021 13:58:32 +0000 (14:58 +0100)
commitb83859d214aeab67fc9ef536a42affd2636c4b47
tree3725ef5c7d519b071285a3f2bf9838063b832303
parent0d2df47e1917ad472f445c793e684a1b314c050d
usb: Introduce Xen pvUSB frontend (xen hcd)

Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen
domU to communicate with a USB device assigned to that domU. The
communication is all done via the pvUSB backend in a driver domain
(usually Dom0) which is owner of the physical device.

The pvUSB frontend is a USB hcd for a virtual USB host connector.

The code is taken from the pvUSB implementation in Xen done by Fujitsu
based on Linux kernel 2.6.18.

Changes from the original version are:
- port to upstream kernel
- put all code in just one source file
- move module to appropriate location in kernel tree
- adapt to Linux style guide
- minor code modifications to increase readability

Signed-off-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20211123132048.5335-3-jgross@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig
drivers/usb/host/Makefile
drivers/usb/host/xen-hcd.c [new file with mode: 0644]