mirror of https://gitlab.com/qemu-project/qemu
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>
This commit is contained in:
parent
b794ec7ce8
commit
804b207170
|
@ -307,7 +307,7 @@ void pcie_cap_slot_reset(PCIDevice *dev)
|
||||||
PCI_EXP_SLTSTA_PDC |
|
PCI_EXP_SLTSTA_PDC |
|
||||||
PCI_EXP_SLTSTA_ABP);
|
PCI_EXP_SLTSTA_ABP);
|
||||||
|
|
||||||
hotplug_event_notify(dev);
|
hotplug_event_update_event_status(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pcie_cap_slot_write_config(PCIDevice *dev,
|
void pcie_cap_slot_write_config(PCIDevice *dev,
|
||||||
|
|
Loading…
Reference in New Issue