From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 00/12] usb descriptor overhaul.
Date: Mon, 29 Nov 2010 17:03:57 +0100 [thread overview]
Message-ID: <1291046649-19353-1-git-send-email-kraxel@redhat.com> (raw)
Hi,
This patch series is the start for an overhaul of the usb descriptor
handling for emulated usb devices. Instead of storing the device
desriptors in blobs (aka char arrays) they are stored in structs,
which makes it alot easier to work with them. This in turn allows
to move common device management to common code, the last two patches
show the direction I'm heading to, more simliar patches will follow.
cheers,
Gerd
Gerd Hoffmann (12):
usb: data structs and helpers for usb descriptors.
usb hid: use new descriptor infrastructure.
usb serial: use new descriptor infrastructure.
usb storage: use new descriptor infrastructure.
usb wacom: use new descriptor infrastructure.
usb bluetooth: use new descriptor infrastructure.
usb hub: use new descriptor infrastructure.
usb descriptors: add settable strings.
usb storage: serial number support
usb network: use new descriptor infrastructure.
usb: move USB_REQ_SET_ADDRESS handling to common code
usb: move USB_REQ_{GET,SET}_CONFIGURATION handling to common code
Makefile.objs | 2 +-
hw/usb-bt.c | 501 +++++++++++++++++++++++--------------------------------
hw/usb-bus.c | 1 +
hw/usb-desc.c | 303 +++++++++++++++++++++++++++++++++
hw/usb-desc.h | 89 ++++++++++
hw/usb-hid.c | 459 +++++++++++++++++++++++----------------------------
hw/usb-hub.c | 152 +++++++++--------
hw/usb-msd.c | 183 ++++++++-------------
hw/usb-net.c | 500 ++++++++++++++++++++++++------------------------------
hw/usb-serial.c | 209 +++++++++--------------
hw/usb-wacom.c | 188 ++++++++-------------
hw/usb.h | 20 +++
12 files changed, 1351 insertions(+), 1256 deletions(-)
create mode 100644 hw/usb-desc.c
create mode 100644 hw/usb-desc.h
next reply other threads:[~2010-11-29 16:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-29 16:03 Gerd Hoffmann [this message]
2010-11-29 16:03 ` [Qemu-devel] [PATCH 01/12] usb: data structs and helpers for usb descriptors Gerd Hoffmann
2010-11-29 16:03 ` [Qemu-devel] [PATCH 02/12] usb hid: use new descriptor infrastructure Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 03/12] usb serial: " Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 04/12] usb storage: " Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 05/12] usb wacom: " Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 06/12] usb bluetooth: " Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 07/12] usb hub: " Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 08/12] usb descriptors: add settable strings Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 09/12] usb storage: serial number support Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 10/12] usb network: use new descriptor infrastructure Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 11/12] usb: move USB_REQ_SET_ADDRESS handling to common code Gerd Hoffmann
2010-11-29 16:04 ` [Qemu-devel] [PATCH 12/12] usb: move USB_REQ_{GET, SET}_CONFIGURATION " Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1291046649-19353-1-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).