mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-17 16:25:34 -06:00
ppc/xive: Make XIVE generate the proper interrupt types
It should be generic Hypervisor Virtualization interrupts for HV directed rings and traditional External Interrupts for the OS directed ring. Don't generate anything for the user ring as it isn't actually supported. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Message-Id: <20190606174409.12502-1-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
8d40926141
commit
4aca978654
2 changed files with 21 additions and 4 deletions
|
|
@ -317,7 +317,8 @@ typedef struct XiveTCTX {
|
|||
DeviceState parent_obj;
|
||||
|
||||
CPUState *cs;
|
||||
qemu_irq output;
|
||||
qemu_irq hv_output;
|
||||
qemu_irq os_output;
|
||||
|
||||
uint8_t regs[XIVE_TM_RING_COUNT * XIVE_TM_RING_SIZE];
|
||||
} XiveTCTX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue