diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-02-05 16:36:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-02-10 10:27:00 +0200 |
commit | 5d268704d7c2bc58c38b87d7d94804639ef100ec (patch) | |
tree | fbe3d39bfd9db9efbac628f563ece30342181e83 /hw/pci/pcie_aer.c | |
parent | c24d5e0b91d138f8cc95f5694d4964de36a739d3 (diff) | |
download | qemu-5d268704d7c2bc58c38b87d7d94804639ef100ec.zip |
pci/shpc: convert SHPC hotplug to use hotplug-handler API
Split shpc_device_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PCI_BRIDGE_DEV device.
Replace pci_bus_hotplug() wiring with setting link on PCI BUS
"hotplug-handler" property to PCI_BRIDGE_DEV 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/pcie_aer.c')
0 files changed, 0 insertions, 0 deletions