From: Juergen Gross Subject: [Patch V1 0/3] usb, xen: add pvUSB backend Date: Thu, 3 Sep 2015 12:45:10 +0200 Message-ID: <1441277113-30693-1-git-send-email-jgross@suse.com> Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: kraxel@redhat.com, stefano.stabellini@eu.citrix.com, qemu-devel@nongnu.org, xen-devel@lists.xensource.com Cc: Juergen Gross List-Id: xen-devel@lists.xenproject.org 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