qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 28/30] usb: convert to hotplug handler API


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH 28/30] usb: convert to hotplug handler API
Date: Thu, 25 Sep 2014 15:22:37 +0200

On Thu, 25 Sep 2014 14:47:31 +0200
Paolo Bonzini <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]