From: Stefan Weil <sw@weilnetz.de>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Hector Martin <hector@marcansoft.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 06/12] xhci: Initial xHCI implementation
Date: Fri, 06 Jan 2012 15:54:44 +0100 [thread overview]
Message-ID: <4F070B34.8030602@weilnetz.de> (raw)
In-Reply-To: <1325858346-1071-7-git-send-email-kraxel@redhat.com>
Am 06.01.2012 14:59, schrieb Gerd Hoffmann:
> From: Hector Martin <hector@marcansoft.com>
>
> Based on the implementation from Hector Martin <hector@marcansoft.com>
>
> Hectors's implementation completely sidestepped the qemu usb system and
> used libusb directly for usb device pass through. So I've ripped out
> the libusb bits (or left them in disabled, as reference for further
> coding) and hooked up the qemu subsystem instead. That work is not
> complete yet though, partly due to limitations of the qemu usb
> subsystem. Nevertheless I think it is better to continue development
> in-tree, especially as the qemu usb bits need a bunch of improvements
> too for decent usb 3.0 support.
>
> Current state:
> - usb-storage emulation should work ok.
> - Devices which need constant polling (HID emulation like usb-tablet)
> are known to not work.
> - ISO xfers are not implemented yet.
> - superspeed ports are not implemented yet.
> - usb pass-through is completely untested so far.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> Makefile.objs | 1 +
> default-configs/pci.mak | 1 +
> hw/pci_ids.h | 3 +
> hw/usb-xhci.c | 2662 +++++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 2667 insertions(+), 0 deletions(-)
> create mode 100644 hw/usb-xhci.c
Hi,
please use scripts/checkpatch.pl to test this patch.
It contains several indented statements (if ... else)
without braces.
For code which is also used in a non QEMU context,
tools like AStyle can fix the formatting for QEMU.
Cheers,
Stefan Weil
next prev parent reply other threads:[~2012-01-07 13:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 13:58 [Qemu-devel] [PATCH 00/12] usb patch queue: audio, xhci Gerd Hoffmann
2012-01-06 13:58 ` [Qemu-devel] [PATCH 01/12] usb-host: rip out legacy procfs support Gerd Hoffmann
2012-01-06 13:58 ` [Qemu-devel] [PATCH 02/12] usb: track configuration and interface count in USBDevice Gerd Hoffmann
2012-01-06 13:58 ` [Qemu-devel] [PATCH 03/12] usb: track altsetting " Gerd Hoffmann
2012-01-06 13:58 ` [Qemu-devel] [PATCH 04/12] usb-desc: audio endpoint support Gerd Hoffmann
2012-01-06 13:58 ` [Qemu-devel] [PATCH 05/12] usb: add audio device model Gerd Hoffmann
2012-01-06 17:23 ` Alex Bradbury
2012-01-06 13:59 ` [Qemu-devel] [PATCH 06/12] xhci: Initial xHCI implementation Gerd Hoffmann
2012-01-06 14:54 ` Stefan Weil [this message]
2012-01-09 9:30 ` Gerd Hoffmann
2012-01-06 13:59 ` [Qemu-devel] [PATCH 07/12] usb: add USBEndpoint Gerd Hoffmann
2012-01-06 13:59 ` [Qemu-devel] [PATCH 08/12] usb: add ifnum to USBEndpoint Gerd Hoffmann
2012-01-06 13:59 ` [Qemu-devel] [PATCH 09/12] usb-desc: USBEndpoint support Gerd Hoffmann
2012-01-06 13:59 ` [Qemu-devel] [PATCH 10/12] usb/debug: add usb_ep_dump Gerd Hoffmann
2012-01-06 13:59 ` [Qemu-devel] [PATCH 11/12] usb: add max_packet_size to USBEndpoint Gerd Hoffmann
2012-01-06 13:59 ` [Qemu-devel] [PATCH 12/12] usb: link packets to endpoints not devices 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=4F070B34.8030602@weilnetz.de \
--to=sw@weilnetz.de \
--cc=hector@marcansoft.com \
--cc=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).