From: Klaus Jensen <its@irrelevant.dk>
To: qemu-devel@nongnu.org, Peter Maydell <peter.maydell@linaro.org>
Cc: Klaus Jensen <its@irrelevant.dk>, Keith Busch <kbusch@kernel.org>,
Hannes Reinecke <hare@suse.de>,
qemu-block@nongnu.org, Klaus Jensen <k.jensen@samsung.com>
Subject: [PULL 2/6] hw/nvme: mark nvme-subsys non-hotpluggable
Date: Sun, 11 Jul 2021 22:27:32 +0200 [thread overview]
Message-ID: <20210711202736.591334-3-its@irrelevant.dk> (raw)
In-Reply-To: <20210711202736.591334-1-its@irrelevant.dk>
From: Klaus Jensen <k.jensen@samsung.com>
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>
---
hw/nvme/subsys.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/nvme/subsys.c b/hw/nvme/subsys.c
index 192223d17ca1..dc7a96862f37 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);
}
--
2.32.0
next prev parent reply other threads:[~2021-07-11 20:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 20:27 [PULL 0/6] hw/nvme patches Klaus Jensen
2021-07-11 20:27 ` [PULL 1/6] hw/nvme: remove NvmeCtrl parameter from ns setup/check functions Klaus Jensen
2021-07-11 20:27 ` Klaus Jensen [this message]
2021-07-11 20:27 ` [PULL 3/6] hw/nvme: unregister controller with subsystem at exit Klaus Jensen
2021-07-11 20:27 ` [PULL 4/6] hw/nvme: error handling for too many mappings Klaus Jensen
2021-07-11 20:27 ` [PULL 5/6] tests/qtest/nvme-test: add persistent memory region test Klaus Jensen
2021-07-11 20:27 ` [PULL 6/6] hw/nvme: fix controller hot unplugging Klaus Jensen
2021-07-12 14:51 ` [PULL 0/6] hw/nvme patches Peter Maydell
2021-07-12 16:54 ` Klaus Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210711202736.591334-3-its@irrelevant.dk \
--to=its@irrelevant.dk \
--cc=hare@suse.de \
--cc=k.jensen@samsung.com \
--cc=kbusch@kernel.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.