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