diff options
author | Igor Mammedov | 2014-02-05 16:36:49 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2014-02-10 09:27:00 +0100 |
commit | c24d5e0b91d138f8cc95f5694d4964de36a739d3 (patch) | |
tree | 200c67b94eddeb1dd136ce02004b80d6e1a0589f /hw/pci | |
parent | qdev:pci: refactor PCIDevice to use generic "hotpluggable" property (diff) | |
download | qemu-c24d5e0b91d138f8cc95f5694d4964de36a739d3.tar.gz qemu-c24d5e0b91d138f8cc95f5694d4964de36a739d3.tar.xz qemu-c24d5e0b91d138f8cc95f5694d4964de36a739d3.zip |
acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API
Split piix4_device_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PIIX4_PM device.
Replace pci_bus_hotplug() wiring with setting link on
PCI BUS "hotplug-handler" property to PIIX4_PM device.
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/pci')
0 files changed, 0 insertions, 0 deletions