From: Michael S. Tsirkin Date: Wed, 27 Oct 2010 15:48:42 +0000 (+0200) Subject: pcie: update satus on reset X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=804b207170cdccca3672b63caaf82312ad205a7f;p=qmiga%2Fqemu.git pcie: update satus on reset Reset never triggers a new event, so it's enough to update status. Signed-off-by: Michael S. Tsirkin --- 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,