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>
This commit is contained in:
Philippe Mathieu-Daudé 2025-03-25 23:21:28 +01:00
parent 490aaae935
commit b2e72fadc8

View file

@ -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 = {