Skip to content

Commit 1514381

Browse files
birkelundMichael Tokarev
authored andcommitted
hw/nvme: fix nvme hotplugging
Commit cd59f50 caused a regression on nvme hotplugging for devices with an implicit nvm subsystem. The nvme-subsys device was incorrectly left with being marked as non-hotpluggable. Fix this. Cc: [email protected] Reported-by: Stéphane Graber <[email protected]> Tested-by: Stéphane Graber <[email protected]> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2950 Fixes: cd59f50 ("hw/nvme: always initialize a subsystem") Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Klaus Jensen <[email protected]> (cherry picked from commit 0b1c23a) Signed-off-by: Michael Tokarev <[email protected]>
1 parent 4055826 commit 1514381

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hw/nvme/subsys.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ static void nvme_subsys_class_init(ObjectClass *oc, void *data)
226226

227227
dc->realize = nvme_subsys_realize;
228228
dc->desc = "Virtual NVMe subsystem";
229-
dc->hotpluggable = false;
230229

231230
device_class_set_props(dc, nvme_subsystem_props);
232231
}

0 commit comments

Comments
 (0)