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)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Nov 2010 14:40:08 +0000 (08:40 -0600)
commit43c98469e095a047cb3dcb36cb9959efcb5d99c5
treeaf31acd6175da6ae084456ad057ac0e067227380
parent67844a523a69364c9ef7a36ba047fe5c281eec40
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