/* This function is called on #RST and FLR. FLR if PCI_EXP_DEVCTL_BCR_FLR is set  */
void pci_device_reset(PCIDevice *dev)
/* This function is called on #RST and FLR. FLR if PCI_EXP_DEVCTL_BCR_FLR is set  */
void pci_device_reset(PCIDevice *dev)
{
    qdev_reset_all(&dev->qdev);
    pci_do_device_reset(dev);
}