diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-25 23:21:28 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-31 21:32:43 +0200 |
commit | b2e72fadc8119aa1ad3de9528d991be4d348cca5 (patch) | |
tree | 40712f9cc9d96ee73cc7345db168fa82b4b3e9fb | |
parent | 490aaae935b6461cfe30660e819317521b255321 (diff) | |
download | qemu-b2e72fadc8119aa1ad3de9528d991be4d348cca5.zip qemu-b2e72fadc8119aa1ad3de9528d991be4d348cca5.tar.gz qemu-b2e72fadc8119aa1ad3de9528d991be4d348cca5.tar.bz2 |
hw/nvram/xlnx-efuse: Do not expose as user-creatable
This device is part of SoC components thus can not
be created manually.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250325224310.8785-10-philmd@linaro.org>
-rw-r--r-- | hw/nvram/xlnx-efuse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/nvram/xlnx-efuse.c b/hw/nvram/xlnx-efuse.c index 29e7dd5..176e88f 100644 --- a/hw/nvram/xlnx-efuse.c +++ b/hw/nvram/xlnx-efuse.c @@ -280,6 +280,8 @@ static void efuse_class_init(ObjectClass *klass, void *data) dc->realize = efuse_realize; device_class_set_props(dc, efuse_properties); + /* Reason: Part of Xilinx SoC */ + dc->user_creatable = false; } static const TypeInfo efuse_info = { |