aboutsummaryrefslogtreecommitdiff
path: root/hw/nvme/subsys.c
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-07-06 10:48:40 +0200
committerKlaus Jensen <k.jensen@samsung.com>2021-07-26 21:09:38 +0200
commitcc6fb6bc506e6c47ed604fcb7b7413dff0b7d845 (patch)
tree0d409a2c8a6e017dd77940f5e3a7a8e586c99749 /hw/nvme/subsys.c
parent5e4f6bcc296ffbd4a66ccdfb975202ba0147d306 (diff)
downloadqemu-cc6fb6bc506e6c47ed604fcb7b7413dff0b7d845.zip
qemu-cc6fb6bc506e6c47ed604fcb7b7413dff0b7d845.tar.gz
qemu-cc6fb6bc506e6c47ed604fcb7b7413dff0b7d845.tar.bz2
hw/nvme: mark nvme-subsys non-hotpluggable
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>
Diffstat (limited to 'hw/nvme/subsys.c')
-rw-r--r--hw/nvme/subsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/nvme/subsys.c b/hw/nvme/subsys.c
index 192223d..dc7a968 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);
}