diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2014-02-05 16:36:51 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2014-02-10 10:27:00 +0200 |
| commit | a66e657e18cd9b70e9f57ae5512c07faf2bc508f (patch) | |
| tree | 0d9adfd4fbab2409645c7fff37eebab71a84f6ed /hw/lm32/lm32_boards.c | |
| parent | 5d268704d7c2bc58c38b87d7d94804639ef100ec (diff) | |
| download | focaccia-qemu-a66e657e18cd9b70e9f57ae5512c07faf2bc508f.tar.gz focaccia-qemu-a66e657e18cd9b70e9f57ae5512c07faf2bc508f.zip | |
pci/pcie: convert PCIE hotplug to use hotplug-handler API
Split pcie_cap_slot_hotplug() into hotplug/unplug callbacks and register them as "hotplug-handler" interface implementation of PCIE_SLOT 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/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions