qemu-patch-raspberry4/hw/core
Igor Mammedov 1a37eca107 qdev: add "hotpluggable" property to Device
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 PCI specific
hotplug callbacks with generic implementation. Following
patches will replace PCIDeviceClass.no_hotplug with this
new property.

In addition expose field as "hotpluggable" readonly property,
to make it possible to read its value via QOM interface.

Make DeviceClass hotpluggable by default as it was assumed
before.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-10 10:23:35 +02:00
..
empty_slot.c empty_slot: QOM cast cleanup 2013-07-29 21:06:37 +02:00
hotplug.c define hotplug interface 2014-02-10 10:23:35 +02:00
irq.c hw/core: Add interface to allocate and free a single IRQ 2013-10-14 17:11:44 +03:00
loader.c roms: Flush icache when writing roms to guest memory 2013-12-20 01:58:03 +01:00
Makefile.objs define hotplug interface 2014-02-10 10:23:35 +02:00
null-machine.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
ptimer.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
qdev-properties-system.c hw: Remove assert_no_error usages 2014-01-06 15:02:30 -05:00
qdev-properties.c hw: Remove assert_no_error usages 2014-01-06 15:02:30 -05:00
qdev.c qdev: add "hotpluggable" property to Device 2014-02-10 10:23:35 +02:00
stream.c stream: Remove app argument hack 2013-04-16 10:04:23 +02:00
sysbus.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
uboot_image.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00