Re: [Qemu-devel] [PATCH 05/11] qdev: add hotpluggable property to Device

2013-12-16 Thread Igor Mammedov
On Sat, 14 Dec 2013 17:10:35 +1000 Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Fri, Dec 13, 2013 at 10:44 PM, Igor Mammedov imamm...@redhat.com wrote: Currently it's possible to make PCIDevice not hotpluggable by using no_hotplug field of PCIDeviceClass. However it limits this

Re: [Qemu-devel] [PATCH 05/11] qdev: add hotpluggable property to Device

2013-12-16 Thread Anthony Liguori
On Fri, Dec 13, 2013 at 4:44 AM, Igor Mammedov imamm...@redhat.com wrote: Currently it's possible to make PCIDevice not hotpluggable by using no_hotplug field of PCIDeviceClass. However it limits this only to PCI devices and prevents from generalizing hotplug code. So add similar field to

[Qemu-devel] [PATCH 05/11] qdev: add hotpluggable property to Device

2013-12-13 Thread Igor Mammedov
Currently it's possible to make PCIDevice not hotpluggable by using no_hotplug field of PCIDeviceClass. However it limits this only to PCI devices and prevents from generalizing hotplug code. So add similar field to DeviceClass so it could be reused with other Devices and would allow to replace

Re: [Qemu-devel] [PATCH 05/11] qdev: add hotpluggable property to Device

2013-12-13 Thread Peter Crosthwaite
On Fri, Dec 13, 2013 at 10:44 PM, Igor Mammedov imamm...@redhat.com wrote: Currently it's possible to make PCIDevice not hotpluggable by using no_hotplug field of PCIDeviceClass. However it limits this only to PCI devices and prevents from generalizing hotplug code. So add similar field to