mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 15:12:07 -06:00
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:
parent
490aaae935
commit
b2e72fadc8
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,8 @@ static void efuse_class_init(ObjectClass *klass, void *data)
|
||||||
|
|
||||||
dc->realize = efuse_realize;
|
dc->realize = efuse_realize;
|
||||||
device_class_set_props(dc, efuse_properties);
|
device_class_set_props(dc, efuse_properties);
|
||||||
|
/* Reason: Part of Xilinx SoC */
|
||||||
|
dc->user_creatable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo efuse_info = {
|
static const TypeInfo efuse_info = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue