Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-17 Thread Igor Mammedov
On Fri, 18 Apr 2014 00:03:57 +1000 Peter Crosthwaite wrote: > On Thu, Apr 17, 2014 at 7:40 PM, Igor Mammedov wrote: > > On Thu, 17 Apr 2014 09:46:28 +1000 > > Peter Crosthwaite wrote: > > > >> On Fri, Apr 4, 2014 at 11:36 PM, Igor Mammedov wrote: > >> > Adds get_hotplug_handler() method to mac

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-17 Thread Peter Crosthwaite
On Thu, Apr 17, 2014 at 7:40 PM, Igor Mammedov wrote: > On Thu, 17 Apr 2014 09:46:28 +1000 > Peter Crosthwaite wrote: > >> On Fri, Apr 4, 2014 at 11:36 PM, Igor Mammedov wrote: >> > Adds get_hotplug_handler() method to machine, and >> > makes bus-less device to use it during hotplug >> > as a me

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-17 Thread Igor Mammedov
On Thu, 17 Apr 2014 09:46:28 +1000 Peter Crosthwaite wrote: > On Fri, Apr 4, 2014 at 11:36 PM, Igor Mammedov wrote: > > Adds get_hotplug_handler() method to machine, and > > makes bus-less device to use it during hotplug > > as a means to discover hotplug handler controller. > > Returned control

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-16 Thread Peter Crosthwaite
On Fri, Apr 4, 2014 at 11:36 PM, Igor Mammedov wrote: > Adds get_hotplug_handler() method to machine, and > makes bus-less device to use it during hotplug > as a means to discover hotplug handler controller. > Returned controller is used to permorm a hotplug > action. > > Signed-off-by: Igor Mamme

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-14 Thread Andreas Färber
Am 07.04.2014 04:26, schrieb Alexey Kardashevskiy: > Why not to make a memory controller + bus instead? I thought this is the > preferred approach in qom'ed QEMU :) That's the historic approach of qdev, not QOM. See: http://www.linux-kvm.org/wiki/images/0/0b/Kvm-forum-2013-Modern-QEMU-devices.pd

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-06 Thread Igor Mammedov
On Mon, 07 Apr 2014 12:26:23 +1000 Alexey Kardashevskiy wrote: > On 04/05/2014 12:36 AM, Igor Mammedov wrote: > > Adds get_hotplug_handler() method to machine, and > > makes bus-less device to use it during hotplug > > as a means to discover hotplug handler controller. > > Returned controller is

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-06 Thread Alexey Kardashevskiy
On 04/05/2014 12:36 AM, Igor Mammedov wrote: > Adds get_hotplug_handler() method to machine, and > makes bus-less device to use it during hotplug > as a means to discover hotplug handler controller. > Returned controller is used to permorm a hotplug > action. "returned controller" is a machine he

[Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-04 Thread Igor Mammedov
Adds get_hotplug_handler() method to machine, and makes bus-less device to use it during hotplug as a means to discover hotplug handler controller. Returned controller is used to permorm a hotplug action. Signed-off-by: Igor Mammedov --- hw/core/qdev.c | 13 + include/hw/boards.