]> git.proxmox.com Git - mirror_qemu.git/commit
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)
commit5beb8ad503c88a76f2b8106c3b74b4ce485a60e1
tree4d2a97c57cdf73bb0f04c631330a41c9ad78be31
parentf4c817e000e50e9a0db8f95ce6496628bd70733d
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