From: Philippe Mathieu-Daudé Date: Tue, 25 Mar 2025 22:21:28 +0000 (+0100) Subject: hw/nvram/xlnx-efuse: Do not expose as user-creatable X-Git-Tag: v10.0.0-rc2~2^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2e72fadc8119aa1ad3de9528d991be4d348cca5;p=thirdparty%2Fqemu.git 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é Reviewed-by: Thomas Huth Message-Id: <20250325224310.8785-10-philmd@linaro.org> --- diff --git a/hw/nvram/xlnx-efuse.c b/hw/nvram/xlnx-efuse.c index 29e7dd539e..176e88fcd1 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 = {