From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [Patch RFC 0/4] usb, xen: add pvUSB backend Date: Thu, 16 Jul 2015 17:47:34 +0200 Message-ID: <1437061658-11769-1-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: kraxel@redhat.com, stefano.stabellini@eu.citrix.com, 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, ...). Juergen Gross (4): usb: support device specification via - usb: add flag to USBPacket to request complete callback after isoc transfer xen: introduce dummy system device xen: add pvUSB backend hw/usb/Makefile.objs | 4 + hw/usb/core.c | 2 +- hw/usb/host-legacy.c | 56 ++- hw/usb/host-libusb.c | 24 +- hw/usb/xen-usb.c | 1130 ++++++++++++++++++++++++++++++++++++++++++ hw/xenpv/xen_machine_pv.c | 42 ++ include/hw/usb.h | 2 + include/hw/xen/xen_backend.h | 4 + 8 files changed, 1238 insertions(+), 26 deletions(-) create mode 100644 hw/usb/xen-usb.c -- 2.1.4