Re: [PATCH v7 2/3] usb: Introduce Xen pvUSB frontend (xen hcd)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-12-13 13:58:48
Also in:
lkml, xen-devel
On Fri, Dec 03, 2021 at 01:50:44PM +0100, Juergen Gross wrote:
On 03.12.21 13:49, Greg Kroah-Hartman wrote:quoted
On Tue, Nov 23, 2021 at 02:20:47PM +0100, Juergen Gross wrote:quoted
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> --- drivers/usb/host/Kconfig | 11 + drivers/usb/host/Makefile | 1 + drivers/usb/host/xen-hcd.c | 1606 ++++++++++++++++++++++++++++++++++++ 3 files changed, 1618 insertions(+) create mode 100644 drivers/usb/host/xen-hcd.cThis looks sane to me, but I don't know the HCD interface as well as others on linux-usb do, like Alan Stern. What tree do you want this to be merged through, my USB one?Either that, or I can carry it through the Xen tree. Its your choice. :-)
I've grabbed them now, thanks. greg k-h