diff options
author | David Hildenbrand <david@redhat.com> | 2018-12-12 10:16:21 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-12-20 11:19:12 -0500 |
commit | 62b765639691de36476c471117e96184a2a3c7a6 (patch) | |
tree | 7d3b5b76895d9c571e3000cd2bdf9c0b686a43ca /tests/m25p80-test.c | |
parent | a1952d01e731856f5a9654508d6c9658796e40f7 (diff) |
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 'tests/m25p80-test.c')
0 files changed, 0 insertions, 0 deletions