Hannes Reinecke 9fc6e86e8b 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>
2021-11-19 07:31:34 +01:00
..
2021-10-27 14:45:22 +02:00
2021-10-12 08:20:08 +02:00
2021-11-09 10:11:27 +01:00
2021-10-12 08:20:08 +02:00
2021-11-15 21:56:15 +01:00
2021-11-09 13:16:56 +01:00
2021-10-18 00:41:36 +02:00
2021-11-09 10:11:27 +01:00
2021-11-15 11:10:11 -05:00
2021-11-02 14:14:55 -04:00
2021-11-17 11:25:55 -07:00
2020-08-21 06:30:33 -04:00