qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 6/6] usb: tag usb host controller as hotpluggabl


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH 6/6] usb: tag usb host controller as hotpluggable
Date: Mon, 2 Jun 2014 13:49:35 +0300

On Mon, Jun 02, 2014 at 09:58:18AM +0200, Gerd Hoffmann wrote:
> On Fr, 2014-05-30 at 20:22 +0800, address@hidden wrote:
> > From: Gonglei <address@hidden>
> > 
> > usb host controller should be able to support hotplug/unplug,
> > as the same as the other pci devices, which not enable
> > multifunction capability.
> > 
> > BTW, the qemu have not the capability to support
> > hotplug mulitfuncition pci devices at present.
> 
> I'd like to keep hotplug disabled for the multifunction configurations.
> Which means we have to switch that per device instance, not per device
> class.  Not sure what the best way to do that is.  mst, suggestions?
> 
> cheers,
>   Gerd

Override the "hotpluggable" property in some way,
and teach qdev to check it?

Alternatively, teach hotplug that it can fail?
Again it's a question of
teaching device_set_realized and qdev_unplug
that these can fail.


-- 
MST



reply via email to

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