[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable |
Date: |
Tue, 16 Sep 2014 07:40:36 +0000 |
Hi,
> Subject: [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable
>
> 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?
>
I agree with you.
Because we must set 'dc->hotpluggable = false or true' at
$hci_class_init() to assure the host adapters whether supporting hotplugging or
not.
And we can only pass parameters from Typeinfo struct's class_data property to
$hci_class_init() at present.
Best regards,
-Gonglei
- [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable, Gerd Hoffmann, 2014/09/16
- [Qemu-devel] [PATCH 4/5] [wip] usb: tag ohci as hotpluggable, Gerd Hoffmann, 2014/09/16
- [Qemu-devel] [PATCH 3/5] usb: tag standalone ehci as hotpluggable, Gerd Hoffmann, 2014/09/16
- [Qemu-devel] [PATCH 1/5] usb: tag xhci as hotpluggable, Gerd Hoffmann, 2014/09/16
- [Qemu-devel] [PATCH 2/5] usb: tag standalone uhci as hotpluggable, Gerd Hoffmann, 2014/09/16
- [Qemu-devel] [PATCH 5/5] tests: add usb hcds hotplugging qtest, Gerd Hoffmann, 2014/09/16
- Re: [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable,
Gonglei (Arei) <=