-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
I cloned riscv-rust (8ee69d7) and tried to run the demo (cd riscv-rust/cli; cargo run --release ../resources/linux/opensbi/fw_payload.elf), but alas, it fails quickly with
thread 'main' panicked at src/device/virtio_block_disk.rs:309:71:
index out of bounds: the len is 0 but the index is 0
FWIW, the backtrace is
2: core::panicking::panic_bounds_check
3: riscv_emu_rust::device::virtio_block_disk::VirtioBlockDisk::tick
4: riscv_emu_rust::cpu::Cpu::tick
5: riscv_emu_rust::Emulator::run
6: riscv_emu_rust_cli::main
Presumably this is a regression?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels