mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
ppc/xive2: Make type Xive2EndSource not user creatable
Xive2EndSource objects can only be instantiated through a Xive2Router
(PnvXive2).
Reported-by: Thomas Huth <thuth@redhat.com>
Fixes: f8a233dedf
("ppc/xive2: Introduce a XIVE2 core framework")
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
52d324ff13
commit
5d927bceaf
1 changed files with 1 additions and 0 deletions
|
@ -1000,6 +1000,7 @@ static void xive2_end_source_class_init(ObjectClass *klass, void *data)
|
|||
dc->desc = "XIVE END Source";
|
||||
device_class_set_props(dc, xive2_end_source_properties);
|
||||
dc->realize = xive2_end_source_realize;
|
||||
dc->user_creatable = false;
|
||||
}
|
||||
|
||||
static const TypeInfo xive2_end_source_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue