projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b794ec7
)
pcie: update satus on reset
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 27 Oct 2010 15:48:42 +0000
(17:48 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/hw/pcie.c
b/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,