diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-10-27 17:48:42 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-10-27 19:01:59 +0200 |
commit | 804b207170cdccca3672b63caaf82312ad205a7f (patch) | |
tree | dc2b27d2c44cac51fb9408f6b0ef999444c1e902 /hw/pcie.c | |
parent | b794ec7ce8ac1aaac825e554c20d1aae1422374e (diff) | |
download | qemu-804b207170cdccca3672b63caaf82312ad205a7f.zip qemu-804b207170cdccca3672b63caaf82312ad205a7f.tar.gz qemu-804b207170cdccca3672b63caaf82312ad205a7f.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |