qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable
Date: Tue, 16 Sep 2014 08:43:34 +0200	[thread overview]
Message-ID: <1410849819-24102-1-git-send-email-kraxel@redhat.com> (raw)

  Hi,

This series the usb host adapters hot-pluggable.  Problem is that we
can NOT hotplug host adapters which are part of a companion setup.  The
way this is tackled now is to split the usb host adapter variants into
two groups:

  * All ich9-* variants (both uhci and ehci) support companion controller
    and are NOT hot-pluggable.
  * All other variants do NOT support companion controller setups and
    can be hotplugged.

[ ohci is to be done, we have only one type there, so we have to create
  a new one and put the existing into one of the two groups,  /me wants
  collect feedback on the approach though. ]

Comments?  Other suggestions?

cheers,
  Gerd

Gerd Hoffmann (4):
  usb: tag xhci as hotpluggable
  usb: tag standalone uhci as hotpluggable
  usb: tag standalone ehci as hotpluggable
  [wip] usb: tag ohci as hotpluggable

Gonglei (1):
  tests: add usb hcds hotplugging qtest

 hw/usb/hcd-ehci-pci.c        | 12 ++++++-
 hw/usb/hcd-ehci.c            |  8 +++--
 hw/usb/hcd-ehci.h            |  1 +
 hw/usb/hcd-ohci.c            |  1 -
 hw/usb/hcd-uhci.c            | 16 +++++++--
 hw/usb/hcd-xhci.c            |  1 -
 tests/Makefile               |  2 ++
 tests/usb-hcd-hotplug-test.c | 86 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 119 insertions(+), 8 deletions(-)
 create mode 100644 tests/usb-hcd-hotplug-test.c

-- 
1.8.3.1

             reply	other threads:[~2014-09-16  6:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16  6:43 Gerd Hoffmann [this message]
2014-09-16  6:43 ` [Qemu-devel] [PATCH 1/5] usb: tag xhci as hotpluggable Gerd Hoffmann
2014-09-16  6:43 ` [Qemu-devel] [PATCH 2/5] usb: tag standalone uhci " Gerd Hoffmann
2014-09-16  6:43 ` [Qemu-devel] [PATCH 3/5] usb: tag standalone ehci " Gerd Hoffmann
2014-09-16  6:43 ` [Qemu-devel] [PATCH 4/5] [wip] usb: tag ohci " Gerd Hoffmann
2014-09-16  6:43 ` [Qemu-devel] [PATCH 5/5] tests: add usb hcds hotplugging qtest Gerd Hoffmann
2014-09-16  7:40 ` [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable Gonglei (Arei)

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=1410849819-24102-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).