On Thu, 25 Sep 2014 14:47:31 +0200 Paolo Bonzini <pbonz...@redhat.com> wrote:
> 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. :) Hopefully it should be ready by the end of this day. > > Paolo