Skip to content

hw/block/nvme: fix msix uninit

Klaus Jensen qemu-devel 2 versions – Applied

Status from this message: Applied this patch (but not patch 2) to master for 6.0; thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 12 repliesApplied
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- remove memory subregion as well
- add (possible) patch to disable hotplugging on subsystem connected controllers

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2hw/block/nvme: fix invalid msix exclusive uninithw/block/nvme.c+2 -16 replies
2/2hw/block/nvme: disable hotplugging for subsystem-linked controllershw/block/nvme.c+4 -04 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMichael S. Tsirkin
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH for-6.0 v2 0/2] hw/block/nvme: fix msix uninit

From: Klaus Jensen <[email protected]>

First patch fixes a regression where msix is not correctly uninit'ed when an nvme device is hotplugged with device_del. When viewed in conjunction with the commit that introduced the bug (commit 1901b4967c3f), I think the fix looks relatively obvious.

Second patch disables hotplugging for nvme controllers that are connected to subsystems since the way namespaces are connected to the nvme controller bus is messed up by removing the device. This bug causes a segfault but is *not* a regression and is related to an experimental feature.

v2:
- remove memory subregion as well
- add (possible) patch to disable hotplugging on subsystem connected controllers

Klaus Jensen (2):
hw/block/nvme: fix invalid msix exclusive uninit hw/block/nvme: disable hotplugging for subsystem-linked controllers

 hw/block/nvme.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1