In this series, an assertion failure and a memory leak are fixed when unplugging
SR-IOV capable NVMe controllers.
The third patch fixes a null pointer dereference that occurs due to a mistake
in the SR-IOV capable device realization logic. I discovered it while testing
the code for these patches, so that's why I am including it in this series.
Cc: qemu-stable@nongnu.org
Daniel Paziyski (3):
hw/nvme: fix assertion failure on sr-iov capable nvme controller
removal
hw/nvme: fix memory leak on sr-iov capable nvme controller removal
pcie_sriov: register user created virtual function before realizing it
hw/nvme/ctrl.c | 12 ++++++++----
hw/pci/pci.c | 11 ++++++-----
hw/pci/pcie_sriov.c | 6 ------
3 files changed, 14 insertions(+), 15 deletions(-)
--
2.55.0