diff options
author | Hannes Reinecke <hare@suse.de> | 2021-09-09 11:43:08 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-11-19 07:31:34 +0100 |
commit | 9fc6e86e8b69e2e672cbb9c25cddc3b9deb96afb (patch) | |
tree | 5236b40752492711e2887427d20d9f04cafa95b5 /qga | |
parent | 44a3aa0608f01274418487b655d42467c1d8334e (diff) |
hw/nvme: reattach subsystem namespaces on hotplug
With commit 5ffbaeed16 ("hw/nvme: fix controller hot unplugging")
namespaces get moved from the controller to the subsystem if one
is specified.
That keeps the namespaces alive after a controller hot-unplug, but
after a controller hotplug we have to reconnect the namespaces
from the subsystem to the controller.
Fixes: 5ffbaeed16 ("hw/nvme: fix controller hot unplugging")
Cc: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
[k.jensen: only attach to shared and non-detached namespaces]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions