projects
/
sdk
/
emulator
/
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
373e33e
..
35918f7
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,