pci: allow hotplug removal of cold-plugged devices
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 12 Nov 2010 07:21:35 +0000 (16:21 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 16 Nov 2010 12:55:23 +0000 (14:55 +0200)
commit8316059d0590cdc1fe1cb637c9c04206d9d566f7
treec342621b76a1c244410b83c41fff0194f0f1c094
parent86864f27141f9fbd99758b59aeb9d22f0cae4368
pci: allow hotplug removal of cold-plugged devices

This patch fixes hot unplug of cold plugged devices
(those present at system start), which got broken by
5beb8ad503c88a76f2b8106c3b74b4ce485a60e1 .

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cam Macdonell <cam@cs.ualberta.ca>
Tested-by: Cam Macdonell <cam@cs.ualberta.ca>
Reported-by: Cam Macdonell <cam@cs.ualberta.ca>.
hw/acpi_piix4.c
hw/pci.c
hw/pci.h
hw/pcie.c