
28 Mar
2024
28 Mar
'24
12:59 p.m.
On Thu, Mar 28, 2024 at 10:58:24AM +0100, Łukasz Stelmach wrote:
[EXTERNAL MAIL]
When virtio_init() gets called from board_init() PCI isn't ready. Thus, virtio-over-PCI (e.g. network interfaces) devices can't be detected and used without additional `virtio scan` scan in the shell or a script.
Signed-off-by: Łukasz Stelmach l.stelmach@samsung.com
Changes since v1:
- remove virtio_init() call from board_init()
- select BOARD_LATE_INIT for TARGET_QEMU_VIRT
arch/riscv/Kconfig | 1 + board/emulation/qemu-riscv/qemu-riscv.c | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-)
Reviewed-by: Leo Yu-Chi Liang ycliang@andestech.com