summary refs log tree commit diff stats
path: root/include/hw/qdev-core.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-11-11 14:08:55 +0100
committerMichael S. Tsirkin <mst@redhat.com>2021-11-15 11:10:11 -0500
commitd5daff7d312653b92f23c7a8e198090b32b8dae6 (patch)
treea534acd89bd622a14e7921be3c2e371118c92896 /include/hw/qdev-core.h
parent23786d13441d36e0efcfee94ba8ff218746bed6c (diff)
downloadfocaccia-qemu-d5daff7d312653b92f23c7a8e198090b32b8dae6.tar.gz
focaccia-qemu-d5daff7d312653b92f23c7a8e198090b32b8dae6.zip
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>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions