OSDN Git Service

pci/pcie: rename hotplug handler callbacks
authorDavid Hildenbrand <david@redhat.com>
Wed, 12 Dec 2018 09:16:13 +0000 (10:16 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 20 Dec 2018 16:19:12 +0000 (11:19 -0500)
commit5571727a6368bd23d751336e261eaf1b32dd472d
treef51571533d07dcf77825b060ee10bbf9d2f6e619
parentcc425b5ddfe8f8474814f369409e637c36898542
pci/pcie: rename hotplug handler callbacks

The callbacks are also called for cold plugged devices. Drop the "hot"
to better match the actual callback names.

While at it, also rename  pcie_cap_slot_hotplug_common() to
pcie_cap_slot_plug_common().

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c
hw/pci/pcie_port.c
include/hw/pci/pcie.h