Skip to content

Commit

Permalink
hw/nvme: mark nvme-subsys non-hotpluggable
Browse files Browse the repository at this point in the history
We currently lack the infrastructure to handle subsystem hotplugging, so
disable it.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
  • Loading branch information
birkelund committed Jul 26, 2021
1 parent 5e4f6bc commit cc6fb6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/nvme/subsys.c
Expand Up @@ -61,6 +61,7 @@ static void nvme_subsys_class_init(ObjectClass *oc, void *data)

dc->realize = nvme_subsys_realize;
dc->desc = "Virtual NVMe subsystem";
dc->hotpluggable = false;

device_class_set_props(dc, nvme_subsystem_props);
}
Expand Down

0 comments on commit cc6fb6b

Please sign in to comment.