diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-07-06 10:48:40 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-07-26 21:09:38 +0200 |
commit | cc6fb6bc506e6c47ed604fcb7b7413dff0b7d845 (patch) | |
tree | 0d409a2c8a6e017dd77940f5e3a7a8e586c99749 /hw/nvme | |
parent | 5e4f6bcc296ffbd4a66ccdfb975202ba0147d306 (diff) | |
download | qemu-cc6fb6bc506e6c47ed604fcb7b7413dff0b7d845.zip |
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')
-rw-r--r-- | hw/nvme/subsys.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |