pcie: update satus on reset Reset never triggers a new event, so it's enough to update status. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
diff --git a/hw/pcie.c b/hw/pcie.c index 373e33e..35918f7 100644 --- a/hw/pcie.c +++ b/hw/pcie.c
@@ -307,7 +307,7 @@ PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_ABP); - hotplug_event_notify(dev); + hotplug_event_update_event_status(dev); } void pcie_cap_slot_write_config(PCIDevice *dev,