[PATCH 0/2] hw/nvme: sr-iov hotunplug fixes (assertion failure, memory leak)

Daniel Paziyski posted 2 patches 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260905121812.47816-1-danielpaziyski@gmail.com
Maintainers: Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>, Jesper Devantier <foss@defmacro.it>
hw/nvme/ctrl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
[PATCH 0/2] hw/nvme: sr-iov hotunplug fixes (assertion failure, memory leak)
Posted by Daniel Paziyski 3 weeks ago
As the subject suggests, in this series an assertion failure and a memory leak
are fixed when hotunplugging a nvme controller with virtual functions.

The patches are exactly the same as
https://lore.kernel.org/qemu-devel/20260805124519.30054-2-danielpaziyski@gmail.com/
("[PATCH 1/3] hw/nvme: fix assertion failure on sr-iov capable nvme controller removal")
https://lore.kernel.org/qemu-devel/20260805124519.30054-3-danielpaziyski@gmail.com/
("[PATCH 2/3] hw/nvme: fix memory leak on sr-iov capable nvme controller removal")

posted in the series at
https://lore.kernel.org/qemu-devel/20260805124519.30054-1-danielpaziyski@gmail.com/
("[PATCH 0/3] NVMe hotunplug and PCI SR-IOV fixes")

I split the patches here, as a separate series, since the other patch is
unrelated to these ones and requires a fix, and it was a mistake on my part to
put patches for different subsystems in the same series.

Cc: qemu-block@nongnu.org
Cc: qemu-stable@nongnu.org

Daniel Paziyski (2):
  hw/nvme: fix assertion failure on sr-iov capable nvme controller
    removal
  hw/nvme: fix memory leak on sr-iov capable nvme controller removal

 hw/nvme/ctrl.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

-- 
2.55.0
Re: [PATCH 0/2] hw/nvme: sr-iov hotunplug fixes (assertion failure, memory leak)
Posted by Klaus Jensen 2 weeks, 5 days ago
On Sep  5 14:18, Daniel Paziyski wrote:
> As the subject suggests, in this series an assertion failure and a memory leak
> are fixed when hotunplugging a nvme controller with virtual functions.
> 
> The patches are exactly the same as
> https://lore.kernel.org/qemu-devel/20260805124519.30054-2-danielpaziyski@gmail.com/
> ("[PATCH 1/3] hw/nvme: fix assertion failure on sr-iov capable nvme controller removal")
> https://lore.kernel.org/qemu-devel/20260805124519.30054-3-danielpaziyski@gmail.com/
> ("[PATCH 2/3] hw/nvme: fix memory leak on sr-iov capable nvme controller removal")
> 
> posted in the series at
> https://lore.kernel.org/qemu-devel/20260805124519.30054-1-danielpaziyski@gmail.com/
> ("[PATCH 0/3] NVMe hotunplug and PCI SR-IOV fixes")
> 
> I split the patches here, as a separate series, since the other patch is
> unrelated to these ones and requires a fix, and it was a mistake on my part to
> put patches for different subsystems in the same series.
> 
> Cc: qemu-block@nongnu.org
> Cc: qemu-stable@nongnu.org
> 
> Daniel Paziyski (2):
>   hw/nvme: fix assertion failure on sr-iov capable nvme controller
>     removal
>   hw/nvme: fix memory leak on sr-iov capable nvme controller removal
> 
>  hw/nvme/ctrl.c | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
> 
> -- 
> 2.55.0
> 
> 

Thanks,

Reviewed-by: Klaus Jensen <k.jensen@samsung.com>