pcie_sriov: make pcie_sriov_pf_exit() safe on non-SR-IOV devices
Merge Request Required Information
Summary of Changes
This MR fixes a qemu-kvm crash when hot unplugging a virtio-pci device in a PCI slot with multiple functions.
Approved Development Ticket(s)
Resolves: RHEL-116443
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=69073299
Upstream status: merged
Signed-off-by: Stefan Hajnoczi stefanha@redhat.com