From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QozZD-0003ND-0G for qemu-devel@nongnu.org; Thu, 04 Aug 2011 11:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QozZ9-0007pT-WE for qemu-devel@nongnu.org; Thu, 04 Aug 2011 11:10:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QozZ9-0007pD-L9 for qemu-devel@nongnu.org; Thu, 04 Aug 2011 11:10:31 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p74FAUtC007833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Aug 2011 11:10:30 -0400 From: Gerd Hoffmann Date: Thu, 4 Aug 2011 17:10:10 +0200 Message-Id: <1312470626-25872-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL] usb patch queue: iovecs, hid split, misc fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, Major changes in the USB patch queue: * The USBPacket payload is represented as iovec instead of a linear buffer. This allows to kill some copying and buffering. * The HID code is splitted into hw/hid.[ch], keeping only the usb interfaacing in hw/usb-hid.c. This allows easy reuse in other contexts such as bluetooth. please pull, Gerd The following changes since commit a6f4e09d90cef88be07cd597c2f2a9f0b3ed0763: lm32: softusb: claim to support full speed (2011-08-04 01:14:22 +0200) are available in the git repository at: git://git.kraxel.org/qemu usb.22 Gerd Hoffmann (16): re-activate usb-host for bsd Add iov_hexdump() Add iov_clear() move QEMUSGList typedef usb: use iovecs in USBPacket usb-serial: iovec support usb-host: iovec support usb-storage: iovec support uhci: remove buffer ehci: iovec support, remove buffer usb-hid: create & use HIDState usb-hid: add event callback usb-hid: add hid_has_events() usb-hid: split hid code to hw/hid.[ch] hid: move idle+protocol from usb-hid to hid too. bluetooth: kill dummy usb device, use hid code directly. Makefile.objs | 2 + dma.h | 4 +- hw/bt-hid.c | 62 ++---- hw/hid.c | 403 +++++++++++++++++++++++++++++++++++++ hw/hid.h | 58 ++++++ hw/milkymist-softusb.c | 8 +- hw/usb-bt.c | 31 +-- hw/usb-ccid.c | 46 +++-- hw/usb-ehci.c | 160 ++++++--------- hw/usb-hid.c | 519 +++++++---------------------------------------- hw/usb-hub.c | 8 +- hw/usb-libhw.c | 63 ++++++ hw/usb-msd.c | 109 +++++------ hw/usb-musb.c | 22 +- hw/usb-net.c | 65 ++---- hw/usb-ohci.c | 23 +- hw/usb-serial.c | 26 ++- hw/usb-uhci.c | 51 ++--- hw/usb-wacom.c | 6 +- hw/usb.c | 86 +++++++-- hw/usb.h | 13 +- iov.c | 54 +++++ iov.h | 4 + qemu-common.h | 1 + usb-bsd.c | 14 +- usb-linux.c | 48 +++-- usb-redir.c | 59 +++--- 27 files changed, 1087 insertions(+), 858 deletions(-) create mode 100644 hw/hid.c create mode 100644 hw/hid.h create mode 100644 hw/usb-libhw.c