summaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2014-02-05 16:36:46 +0100
committerMichael S. Tsirkin <mst@redhat.com>2014-02-10 10:23:35 +0200
commit1a37eca107cece3ed454bae29eef0bd1fac4a244 (patch)
tree48db83a3a7ecc56cf02291f8b784de5c1f340ce4 /hw/acpi
parent0ee4de6ce1d403b3d8017b340cec772c3c5c106f (diff)
downloadqemu-1a37eca107cece3ed454bae29eef0bd1fac4a244.tar.gz
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>
Diffstat (limited to 'hw/acpi')
0 files changed, 0 insertions, 0 deletions