]> git.proxmox.com Git - mirror_qemu.git/commit
hw/pci: Always call pcie_sriov_pf_reset()
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Wed, 28 Feb 2024 11:33:16 +0000 (20:33 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:56:55 +0000 (17:56 -0400)
commit1a909e3dd85d5c57a0e6a7e3285a29e57574f80d
tree157b921ccef09d5a4966052dab063b81a41eef32
parent63eb76dda237843582f3616f4403ae795e471e17
hw/pci: Always call pcie_sriov_pf_reset()

Call pcie_sriov_pf_reset() from pci_do_device_reset() just as we do
for msi_reset() and msix_reset() to prevent duplicating code for each
SR-IOV PF.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240228-reuse-v8-5-282660281e60@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@ericsson.com>
hw/net/igb.c
hw/nvme/ctrl.c
hw/pci/pci.c