commit | 804b207170cdccca3672b63caaf82312ad205a7f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Oct 27 17:48:42 2010 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Oct 27 19:01:59 2010 +0200 |
tree | dc2b27d2c44cac51fb9408f6b0ef999444c1e902 | |
parent | b794ec7ce8ac1aaac825e554c20d1aae1422374e [diff] |
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,