Re: [Qemu-devel] [PATCH 04/11] qdev: add to BusState "hotplug-handler" link

2013-12-16 Thread Igor Mammedov
On Mon, 16 Dec 2013 16:26:25 +0100 Igor Mammedov wrote: > On Sat, 14 Dec 2013 17:05:57 +1000 > Peter Crosthwaite wrote: > [...] > > > > > > QTAILQ_INIT(&bus->children); > > > +object_property_add_link(obj, QDEV_HOTPLUG_HANDLER_PROPERTY, > > > + TYPE_HOTPLUG_

Re: [Qemu-devel] [PATCH 04/11] qdev: add to BusState "hotplug-handler" link

2013-12-16 Thread Igor Mammedov
On Sat, 14 Dec 2013 17:05:57 +1000 Peter Crosthwaite wrote: > On Fri, Dec 13, 2013 at 10:44 PM, Igor Mammedov wrote: > > It will allow to reuse field with different BUSes, reducing code > > duplication. > > Field is intended fot replacing 'hotplug_qdev' field in PCIBus and also > > will allow t

Re: [Qemu-devel] [PATCH 04/11] qdev: add to BusState "hotplug-handler" link

2013-12-13 Thread Peter Crosthwaite
On Fri, Dec 13, 2013 at 10:44 PM, Igor Mammedov wrote: > It will allow to reuse field with different BUSes, reducing code duplication. > Field is intended fot replacing 'hotplug_qdev' field in PCIBus and also > will allow to avoid adding equivalent field to DimmBus with possiblitity > to refactor