|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 28/30] usb: convert to hotplug handler API |
Date: | Thu, 25 Sep 2014 14:47:31 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Il 25/09/2014 12:55, Igor Mammedov ha scritto: > hotplug-handler.[plug|unplug] callbacks are class wide, so if > USB bus might ever need to have different callbacks depending on > host it might not work. > > But since so far it uses the only qdev_simple_device_unplug_cb(), > having BUS as hotplug-handler should work too. Yeah, in effect the USB bus is using attach/detach as the controller-specific part of the hotplug handler. Perhaps the same can work for SCSI as well? I'm waiting for v2. :) Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |