diff options
author | yang.zhang <yang.zhang@hexintek.com> | 2024-04-09 09:44:45 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-06-03 11:12:11 +1000 |
commit | c76b121840c6ca79dc6305a5f4bcf17c72217d9c (patch) | |
tree | 1ec093e477ffae0c88d89b6c7c0211cfb8d0a908 /qemu-keymap.c | |
parent | 74abb45dac6979e7ff76172b7f0a24e869405184 (diff) | |
download | qemu-c76b121840c6ca79dc6305a5f4bcf17c72217d9c.zip qemu-c76b121840c6ca79dc6305a5f4bcf17c72217d9c.tar.gz qemu-c76b121840c6ca79dc6305a5f4bcf17c72217d9c.tar.bz2 |
hw/intc/riscv_aplic: APLICs should add child earlier than realize
Since only root APLICs can have hw IRQ lines, aplic->parent should
be initialized first.
Fixes: e8f79343cf ("hw/intc: Add RISC-V AIA APLIC device emulation")
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: yang.zhang <yang.zhang@hexintek.com>
Cc: qemu-stable <qemu-stable@nongnu.org>
Message-ID: <20240409014445.278-1-gaoshanliukou@163.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions