From cc6fb6bc506e6c47ed604fcb7b7413dff0b7d845 Mon Sep 17 00:00:00 2001 From: Klaus Jensen Date: Tue, 6 Jul 2021 10:48:40 +0200 Subject: hw/nvme: mark nvme-subsys non-hotpluggable We currently lack the infrastructure to handle subsystem hotplugging, so disable it. Reviewed-by: Hannes Reinecke Signed-off-by: Klaus Jensen --- hw/nvme/subsys.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') diff --git a/hw/nvme/subsys.c b/hw/nvme/subsys.c index 192223d17c..dc7a96862f 100644 --- a/hw/nvme/subsys.c +++ b/hw/nvme/subsys.c @@ -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); } -- cgit v1.2.3