pcie: add power indicator blink check
commit81124b3c7a5dae34881cd8cd9631f125da81ef97
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 11 Nov 2021 13:08:56 +0000 (11 14:08 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Nov 2021 16:10:11 +0000 (15 11:10 -0500)
tree4ae4132ee3bbcc213bd3cde29d279fc124d7736c
parentd5daff7d312653b92f23c7a8e198090b32b8dae6
pcie: add power indicator blink check

Refuse to push the attention button in case the guest is busy with some
hotplug operation (as indicated by the power indicator blinking).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20211111130859.1171890-4-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c