mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: 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,
	gregkh@linuxfoundation.org, cyliu@suse.com
Cc: Juergen Gross <jgross@suse.com>
Subject: [PATCH 0/4] xen, usb: support pvUSB drivers
Date: Thu, 26 Feb 2015 14:35:13 +0100	[thread overview]
Message-ID: <1424957717-392-1-git-send-email-jgross@suse.com> (raw)

This series adds XEN pvUSB support. With pvUSB it is possible to use physical
USB devices from a XEN domain.

The support consists of a backend in the privileged Domain-0 doing the real
I/O and a frontend in the unprivileged domU passing I/O-requests to the backend.

The code is taken (and adapted) from the original pvUSB implementation done
for Linux 2.6 in 2008 by Fujitsu.

Normal operation of USB devices by adding and removing them dynamically to/from
a domain has been tested using various USB devices (USB 1.1, 2.0 and 3.0).
Assignment of a USB device at domain creation via config file has been tested
as well.

Tests have been performed with the xm toolset and with xl using patches
from Chun Yan Liu which are not upstream yet.

Juergen Gross (4):
  usb: Add Xen pvUSB protocol description
  usb: Introduce Xen pvUSB frontend
  usb: Introduce Xen pvUSB backend
  xen: add Xen pvUSB maintainer

 MAINTAINERS                      |    8 +
 drivers/usb/Kconfig              |    2 +
 drivers/usb/Makefile             |    3 +
 drivers/usb/xen/Kconfig          |   20 +
 drivers/usb/xen/Makefile         |    6 +
 drivers/usb/xen/xen-usbback.c    | 1845 ++++++++++++++++++++++++++++++++++++++
 drivers/usb/xen/xen-usbfront.c   | 1634 +++++++++++++++++++++++++++++++++
 include/xen/interface/io/usbif.h |  220 +++++
 8 files changed, 3738 insertions(+)
 create mode 100644 drivers/usb/xen/Kconfig
 create mode 100644 drivers/usb/xen/Makefile
 create mode 100644 drivers/usb/xen/xen-usbback.c
 create mode 100644 drivers/usb/xen/xen-usbfront.c
 create mode 100644 include/xen/interface/io/usbif.h

-- 
2.1.4


             reply	other threads:[~2015-02-26 13:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 13:35 Juergen Gross [this message]
2015-02-26 13:35 ` [PATCH 1/4] usb: Add Xen pvUSB protocol description Juergen Gross
2015-02-26 13:35 ` [PATCH 2/4] usb: Introduce Xen pvUSB frontend Juergen Gross
2015-02-26 14:09   ` Oliver Neukum
2015-02-26 13:35 ` [PATCH 3/4] usb: Introduce Xen pvUSB backend Juergen Gross
2015-03-02 11:39   ` [Xen-devel] " David Vrabel
2015-03-04 13:31     ` Juergen Gross
2015-03-04 13:41       ` Ian Campbell
2015-03-04 13:45         ` Juergen Gross
2015-03-04 13:53       ` David Vrabel
2015-03-04 14:09         ` Juergen Gross
2015-03-04 14:19           ` David Vrabel
2015-03-04 14:29             ` Ian Campbell
2015-03-04 14:41               ` Juergen Gross
2015-03-04 14:43                 ` Peter Stuge
2015-03-04 14:46                 ` Ian Campbell
2015-03-06 10:59                   ` Pasi Kärkkäinen
2015-03-06 12:52           ` Austin S Hemmelgarn
2015-03-04 15:27       ` Greg KH
2015-03-04 15:31         ` Juergen Gross
2015-02-26 13:35 ` [PATCH 4/4] xen: add Xen pvUSB maintainer Juergen Gross
2015-02-26 17:25   ` Konrad Rzeszutek Wilk

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=1424957717-392-1-git-send-email-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=cyliu@suse.com \
    --cc=david.vrabel@citrix.com \
    --cc=gregkh@linuxfoundation.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®