qemu/hw/nvme
Klaus Jensen 8c996e3271 hw/nvme: fix attachment of private namespaces
Fix regression when attaching private namespaces that gets attached to
the wrong controller.

Keep track of the original controller "owner" of private namespaces, and
only attach if this matches on controller enablement.

Fixes: 6ccca4b6bb ("hw/nvme: rework csi handling")
Reported-by: Alan Adamson <alan.adamson@oracle.com>
Suggested-by: Alan Adamson <alan.adamson@oracle.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Tested-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Message-ID: <20250408-fix-private-ns-v1-1-28e169b6b60b@samsung.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-04-08 20:46:10 +02:00
..
ctrl.c hw/nvme: fix attachment of private namespaces 2025-04-08 20:46:10 +02:00
dif.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
dif.h hw/nvme: 64-bit pi support 2022-03-03 09:30:21 +01:00
Kconfig kconfig: Add NVME to s390x machines 2023-09-12 12:07:16 +02:00
meson.build hw/nvme: Add NVMe NGUID property 2024-03-12 15:48:56 +01:00
nguid.c qdev: Rename PropertyInfo member @name to @type 2025-03-06 10:30:58 +01:00
ns.c hw/nvme: fix attachment of private namespaces 2025-04-08 20:46:10 +02:00
nvme.h hw/nvme: fix attachment of private namespaces 2025-04-08 20:46:10 +02:00
subsys.c hw/nvme: fix attachment of private namespaces 2025-04-08 20:46:10 +02:00
trace-events hw/nvme: i/o cmd set independent namespace data structure 2024-11-04 19:09:45 +01:00
trace.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00