riscvarchive / riscv-qemu

QEMU with RISC-V (RV64G, RV32G) Emulation Support
384 stars 154 forks source link

the issue: qemu-system-riscv64: -nographic: unsupported machine type #177

Closed eleven121 closed 5 years ago

eleven121 commented 5 years ago

Hi I have installed the riscv-tools and download the image of the linux kernl. Then I built the qemu using apt-get install qemu. When I used the qemu simulate this image using the command: qemu-system-rscv64 -nographic -machine virt -smp 4 -m 512M -kernel bbl... The problem displays: qemu-system-riscv64: -nographic: unsupported machine type

and the qemu-system-riscv64 's version is 2.7.50. Is the qemu too old? Thanks.

jim-wilson commented 5 years ago

Yes, the qemu is too old. You need to check out riscv/riscv-qemu and build it.

michaeljclark commented 5 years ago

This one seems to be resolved. Thanks @jim-wilson