]> git.proxmox.com Git - qemu.git/commitdiff
pcie: update satus on reset
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Oct 2010 15:48:42 +0000 (17:48 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Oct 2010 17:01:59 +0000 (19:01 +0200)
Reset never triggers a new event, so it's enough to
update status.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pcie.c

index 373e33e7416a119d3cb298d3f68919a6d03946fe..35918f7c2c1826c8a6b9a741e010c747f9f99a59 100644 (file)
--- 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,