All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] usb, xen: add pvUSB backend
@ 2016-05-06  9:42 ` Juergen Gross
  0 siblings, 0 replies; 15+ messages in thread
From: Juergen Gross @ 2016-05-06  9:42 UTC (permalink / raw)
  To: qemu-devel, xen-devel
  Cc: kraxel, stefano.stabellini, konrad.wilk, anthony.perard, Juergen Gross

This series adds a Xen pvUSB backend driver to qemu. USB devices
connected to the host can be passed through to a Xen guest. The
devices are specified via Xenstore. Access to the devices is done
via host-libusb.c

I've tested the backend with various USB devices (memory sticks,
keyboard, ...).

Changes in V3:
- added new patch 2 (was sent formerly on it's own)
- patch 3 (was 2): multiple small changes as requested by Anthony Perard
- patch 3 (was 2): check for full ring in case of hotplug events as
  requested by Anthony Perard
- patch 3 (was 2): use RING_COPY_REQUEST() instead of RING_GET_REQUEST()
- patch 3 (was 2): add check for required header version and disable
  backend in case header is too old

Changes in V2:
- rebased to current qemu master
- removed support for isoc requests in this series, as the optimal way to
  support those isn't clear yet. Will be added in a followup series.
- several changes as requested by Stefano Stabellini and Konrad Wilk

Changes since RFC:
- open device via qdev_device_add(), making patch 1 obsolete
- modify patch 2 to use isoc passthrough via libusb instead of one
  job per frame

Juergen Gross (3):
  xen: introduce dummy system device
  xen: write information about supported backends
  xen: add pvUSB backend

 hw/usb/Makefile.objs         |    4 +
 hw/usb/xen-usb.c             | 1080 ++++++++++++++++++++++++++++++++++++++++++
 hw/xen/xen_backend.c         |   60 +++
 hw/xen/xen_devconfig.c       |   52 +-
 hw/xenpv/xen_machine_pv.c    |   43 ++
 include/hw/xen/xen_backend.h |    6 +
 include/hw/xen/xen_common.h  |    2 +
 7 files changed, 1197 insertions(+), 50 deletions(-)
 create mode 100644 hw/usb/xen-usb.c

-- 
2.6.6

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-05-11 10:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-06  9:42 [Qemu-devel] [PATCH v3 0/3] usb, xen: add pvUSB backend Juergen Gross
2016-05-06  9:42 ` Juergen Gross
2016-05-06  9:42 ` [Qemu-devel] [PATCH v3 1/3] xen: introduce dummy system device Juergen Gross
2016-05-06  9:42   ` Juergen Gross
2016-05-06  9:42 ` [Qemu-devel] [PATCH v3 2/3] xen: write information about supported backends Juergen Gross
2016-05-06  9:42   ` Juergen Gross
2016-05-10 16:21   ` [Qemu-devel] " Anthony PERARD
2016-05-10 16:21     ` Anthony PERARD
2016-05-11  8:36     ` [Qemu-devel] " Juergen Gross
2016-05-11  8:36       ` Juergen Gross
2016-05-11 10:46       ` Anthony PERARD
2016-05-06  9:42 ` [Qemu-devel] [PATCH v3 3/3] xen: add pvUSB backend Juergen Gross
2016-05-06  9:42   ` Juergen Gross
2016-05-11 10:19   ` [Qemu-devel] " Anthony PERARD
2016-05-11 10:19     ` Anthony PERARD

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.