Re: [PATCH v7 2/3] usb: Introduce Xen pvUSB frontend (xen hcd)

Juergen Gross
2021-12-03T12:50:48Z

[-- Attachment #1.1.1: Type: text/plain, Size: 1436 bytes --]

On 03.12.21 13:49, Greg Kroah-Hartman wrote:
> On Tue, Nov 23, 2021 at 02:20:47PM +0100, Juergen Gross wrote:
>> 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.c
>
> This 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. :-)

Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3135 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]