From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [PATCH v2 0/2] usb, xen: add pvUSB backend Date: Thu, 10 Mar 2016 16:19:28 +0100 Message-ID: <1457623170-30896-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: qemu-devel@nongnu.org, xen-devel@lists.xensource.com Cc: Juergen Gross , konrad.wilk@oracle.com, kraxel@redhat.com, stefano.stabellini@eu.citrix.com 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, ...). 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 (2): xen: introduce dummy system device xen: add pvUSB backend hw/usb/Makefile.objs | 4 + hw/usb/xen-usb.c | 1021 ++++++++++++++++++++++++++++++++++++++++++ hw/xenpv/xen_machine_pv.c | 43 ++ include/hw/xen/xen_backend.h | 4 + include/hw/xen/xen_common.h | 2 + 5 files changed, 1074 insertions(+) create mode 100644 hw/usb/xen-usb.c -- 2.6.2