ppc/xive2: Make type Xive2EndSource not user creatable
commit5d927bceaf882770790800d8069fcaa0c9034a7f
authorCédric Le Goater <clg@kaod.org>
Mon, 14 Mar 2022 14:57:17 +0000 (14 15:57 +0100)
committerCédric Le Goater <clg@kaod.org>
Mon, 14 Mar 2022 14:57:17 +0000 (14 15:57 +0100)
treebdab0067664f99cdeea59ccf4214ef4b1486b566
parent52d324ff13fcf97bc31f2e24803e366d330aa7cc
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: f8a233dedf25 ("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>
hw/intc/xive2.c