summaryrefslogtreecommitdiff
path: root/hw/pcie.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-10-27 17:48:42 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-10-27 19:01:59 +0200
commit804b207170cdccca3672b63caaf82312ad205a7f (patch)
treedc2b27d2c44cac51fb9408f6b0ef999444c1e902 /hw/pcie.c
parentb794ec7ce8ac1aaac825e554c20d1aae1422374e (diff)
downloadqemu-804b207170cdccca3672b63caaf82312ad205a7f.tar.gz
qemu-804b207170cdccca3672b63caaf82312ad205a7f.tar.bz2
qemu-804b207170cdccca3672b63caaf82312ad205a7f.zip
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>
Diffstat (limited to 'hw/pcie.c')
-rw-r--r--hw/pcie.c2
1 files changed, 1 insertions, 1 deletions
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,