From 804b207170cdccca3672b63caaf82312ad205a7f Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Wed, 27 Oct 2010 17:48:42 +0200 Subject: pcie: update satus on reset Reset never triggers a new event, so it's enough to update status. Signed-off-by: Michael S. Tsirkin --- hw/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/pcie.c') diff --git a/hw/pcie.c b/hw/pcie.c index 373e33e741..35918f7c2c 100644 --- a/hw/pcie.c +++ b/hw/pcie.c @@ -307,7 +307,7 @@ void pcie_cap_slot_reset(PCIDevice *dev) 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, -- cgit v1.2.3