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, phono preamp, ...).

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/usb: add capability for passing through isoc jobs to host devices
  xen: add pvUSB backend

 hw/usb/Makefile.objs         |    4 +
 hw/usb/core.c                |   11 +-
 hw/usb/host-libusb.c         |   51 +-
 hw/usb/xen-usb.c             | 1120 ++++++++++++++++++++++++++++++++++++++++++
 hw/xenpv/xen_machine_pv.c    |   42 ++
 include/hw/xen/xen_backend.h |   11 +
 6 files changed, 1229 insertions(+), 10 deletions(-)
 create mode 100644 hw/usb/xen-usb.c

-- 
2.1.4


Reply via email to