From: Greg KH <gregkh@linuxfoundation.org>
To: Juergen Gross <jgross@suse.com>
Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com,
konrad.wilk@oracle.com, david.vrabel@citrix.com,
boris.ostrovsky@oracle.com, linux-usb@vger.kernel.org
Subject: Re: [Patch V2 2/3] usb: Introduce Xen pvUSB frontend
Date: Fri, 12 Jun 2015 09:20:07 -0700 [thread overview]
Message-ID: <20150612162007.GC15911@kroah.com> (raw)
In-Reply-To: <1434118201-25617-3-git-send-email-jgross@suse.com>
On Fri, Jun 12, 2015 at 04:10:00PM +0200, 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 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/Kconfig | 2 +
> drivers/usb/Makefile | 2 +
> drivers/usb/xen/Kconfig | 10 +
> drivers/usb/xen/Makefile | 5 +
> drivers/usb/xen/xen-usbfront.c | 1647 ++++++++++++++++++++++++++++++++++++++++
A subdirectory for a single file? That seems like overkill, don't you
think? As this is a USB "host" driver, why not put it in that
directory?
Also, last time these patches were posted, people asked why you can't
use libusb/usbfs instead, what happened with that? Or usbip?
> +config XEN_USB_FRONTEND
> + tristate "Xen USB frontend driver"
> + depends on XEN
> + default m
Remove this, default should be 'n'.
> +/* status of attached device */
> +struct vdevice_status {
> + int devnum;
> + enum usb_device_state status;
> + enum usb_device_speed speed;
> +};
Always run your patches through checkpatch.pl so people don't tell you
about the things that checkpatch.pl would have told you about...
greg k-h
next prev parent reply other threads:[~2015-06-12 16:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 14:09 [Patch V2 0/3] xen, usb: support pvUSB frontend driver Juergen Gross
2015-06-12 14:09 ` [Patch V2 1/3] usb: Add Xen pvUSB protocol description Juergen Gross
2015-06-12 16:23 ` Greg KH
2015-06-15 4:04 ` Juergen Gross
2015-06-15 4:04 ` Juergen Gross
2015-06-12 14:10 ` [Patch V2 2/3] usb: Introduce Xen pvUSB frontend Juergen Gross
2015-06-12 16:20 ` Greg KH [this message]
2015-06-12 16:33 ` [Xen-devel] " David Vrabel
2015-06-12 16:33 ` David Vrabel
2015-06-12 18:06 ` Greg KH
2015-06-15 4:36 ` Juergen Gross
2015-06-12 14:10 ` [Patch V2 3/3] xen: add Xen pvUSB maintainer Juergen Gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150612162007.GC15911@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=jgross@suse.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.