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: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 28/30] usb: convert to hotplug handler API
Date: Wed, 24 Sep 2014 15:23:41 +0200

  Hi,

> > Can't we do this in usb_bus_new instead of duplicating in every host
> > adapter?
> 
> So you would make TYPE_USB_BUS the hotplug handler itself, instead of
> the controller?

I was more thinking of just setting the callback in common code, but if
we can attach the hotplug interface to the usb bus itself not the usb
host adapters that would be even better.  And it'll probably kill some
headache for the companion controller case.

cheers,
  Gerd





reply via email to

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