pci: call hotplug callback even when not hotplug case for later use.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 6 Sep 2010 07:46:18 +0000 (16:46 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Sep 2010 17:10:04 +0000 (20:10 +0300)
commit471bbf3788bea90282042a3e1641ba9aab8c9a3d
tree4d2a97c57cdf73bb0f04c631330a41c9ad78be31
parentea34ad0d9e9b90bacd5e66a5783ba1fa0d04a51c
pci: call hotplug callback even when not hotplug case for later use.

call hotplug callback even when not hotplug case for later use.
And move hotplug check into hotplug callback.
PCIE slot needs this for card presence detection.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi_piix4.c
hw/pci.c