1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-08 18:35:25 +02:00
tldr/pages/common/qemu-system-riscv64.md

17 lines
402 B
Markdown
Raw Normal View History

2025-06-26 13:33:02 +03:00
# qemu-system-riscv64
> Emulate `riscv64` architecture.
> More information: <https://www.qemu.org/docs/master/system/target-riscv.html>.
- Boot a kernel emulating `riscv64` architecture:
`qemu-system-riscv64 {{[-M|-machine]}} virt -bios none -kernel {{kernel.elf}} -nographic`
- List supported machine types:
`qemu-system-riscv64 {{[-M|-machine]}} help`
- Exit non-graphical QEMU:
`<Ctrl a><x>`