qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/nvme: fix attachment of private namespaces


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] hw/nvme: fix attachment of private namespaces
Date: Tue, 8 Apr 2025 20:56:57 +0200
User-agent: Mozilla Thunderbird

On 8/4/25 12:20, Klaus Jensen wrote:
From: Klaus Jensen <k.jensen@samsung.com>

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: 6ccca4b6bb9f ("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>
---
  hw/nvme/ctrl.c   | 7 ++++++-
  hw/nvme/ns.c     | 4 ++++
  hw/nvme/nvme.h   | 3 +++
  hw/nvme/subsys.c | 9 +--------
  4 files changed, 14 insertions(+), 9 deletions(-)


Patch queued, thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]