The IMSIC attr of RISC-V AIA is wrongly configured to start from 0, which would error out with `os error 22` (invalid argument). ```console Error booting VM: VmBoot(DeviceManager(CreateInterruptController(CreateAia(CreateVaia(Vaia error SetDeviceAttribute(SetDeviceAttribute(Invalid argument (os error 22)))))))) ``` `riscv_imsic_attr_of` should shift `cpu_index` by 1 here to produce correct IMSIC attr. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||