diff options
author | Igor Mammedov | 2014-02-05 16:36:51 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2014-02-10 09:27:00 +0100 |
commit | a66e657e18cd9b70e9f57ae5512c07faf2bc508f (patch) | |
tree | 0d9adfd4fbab2409645c7fff37eebab71a84f6ed /hw/display/vga-pci.c | |
parent | pci/shpc: convert SHPC hotplug to use hotplug-handler API (diff) | |
download | qemu-a66e657e18cd9b70e9f57ae5512c07faf2bc508f.tar.gz qemu-a66e657e18cd9b70e9f57ae5512c07faf2bc508f.tar.xz 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/display/vga-pci.c')
0 files changed, 0 insertions, 0 deletions