diff options
author | David Hildenbrand | 2018-12-12 10:16:21 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2018-12-20 17:19:12 +0100 |
commit | 62b765639691de36476c471117e96184a2a3c7a6 (patch) | |
tree | 7d3b5b76895d9c571e3000cd2bdf9c0b686a43ca /hw/core/generic-loader.c | |
parent | pci/pcie: perform unplug via the hotplug handler (diff) | |
download | qemu-62b765639691de36476c471117e96184a2a3c7a6.tar.gz qemu-62b765639691de36476c471117e96184a2a3c7a6.tar.xz qemu-62b765639691de36476c471117e96184a2a3c7a6.zip |
pci: Reuse pci-bridge hotplug handler handlers for pcie-pci-bridge
These functions are essentially the same, we only have to use
object_get_typename() for reporting errors. So let's share the
implementation of hotplug handler callbacks.
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/core/generic-loader.c')
0 files changed, 0 insertions, 0 deletions