diff options
author | Hannes Reinecke | 2021-09-09 11:43:08 +0200 |
---|---|---|
committer | Klaus Jensen | 2021-11-19 07:31:34 +0100 |
commit | 9fc6e86e8b69e2e672cbb9c25cddc3b9deb96afb (patch) | |
tree | 5236b40752492711e2887427d20d9f04cafa95b5 /python/qemu/machine | |
parent | Merge tag 'sev-hashes-pull-request' of https://gitlab.com/berrange/qemu into ... (diff) | |
download | qemu-9fc6e86e8b69e2e672cbb9c25cddc3b9deb96afb.tar.gz qemu-9fc6e86e8b69e2e672cbb9c25cddc3b9deb96afb.tar.xz qemu-9fc6e86e8b69e2e672cbb9c25cddc3b9deb96afb.zip |
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 'python/qemu/machine')
0 files changed, 0 insertions, 0 deletions