From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTmcq-0000Sd-91 for qemu-devel@nongnu.org; Tue, 16 Sep 2014 02:52:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTmcj-0003pg-2s for qemu-devel@nongnu.org; Tue, 16 Sep 2014 02:52:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTmci-0003o9-Ry for qemu-devel@nongnu.org; Tue, 16 Sep 2014 02:52:25 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8G6qKX7015229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 16 Sep 2014 02:52:20 -0400 From: Gerd Hoffmann Date: Tue, 16 Sep 2014 08:43:34 +0200 Message-Id: <1410849819-24102-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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