Skip to content

Commit

Permalink
Merge pull request #1034 from andreas-schwab/master
Browse files Browse the repository at this point in the history
build-vm-qemu: force sv48 satp mode on riscv64
  • Loading branch information
mlschroe authored Oct 31, 2024
2 parents d8300e8 + 6cf6d2d commit 3b199b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-vm-qemu
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ vm_startup_qemu() {
riscv64)
qemu_bin="/usr/bin/qemu-system-riscv64"
qemu_console=${qemu_console:-ttyS0}
qemu_cpu="-cpu rv64"
qemu_cpu="-cpu rv64,sv48=on"
qemu_options="$qemu_options -M virt -bios"
if test -f /usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin; then
qemu_options="$qemu_options /usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin"
Expand Down

0 comments on commit 3b199b1

Please sign in to comment.