Gerd Hoffmann d5daff7d31 pcie: implement slot power control for pcie root ports
With this patch hot-plugged pci devices will only be visible to the
guest if the guests hotplug driver has enabled slot power.

This should fix the hot-plug race which one can hit when hot-plugging
a pci device at boot, while the guest is in the middle of the pci bus
scan.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20211111130859.1171890-3-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-11-15 11:10:11 -05:00
..
2019-03-18 09:39:57 +01:00
2020-08-21 06:30:28 -04:00
2019-02-05 10:58:33 -05:00
2021-11-15 11:10:11 -05:00
2021-11-15 11:10:11 -05:00
2019-08-16 13:31:52 +02:00
2017-07-03 22:29:49 +03:00