diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-01 17:15:04 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-01 17:29:49 +0100 |
commit | 977b5c21d1dd6d5470fd0d604f49678189102337 (patch) | |
tree | 7ecb29403c886cb96013ed63c86a4085b19df356 | |
parent | 029a4c90e783517b7023f32b93fea7f698f81ce8 (diff) | |
download | debvm-977b5c21d1dd6d5470fd0d604f49678189102337.tar.gz |
debvm-run: support riscv64
-rwxr-xr-x | debvm-run | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -200,6 +200,7 @@ if test "$ARCHITECTURE" = "$VMARCH"; then ;; esac else + QEMU="qemu-system-$VMARCH" case "$VMARCH" in arm64) QEMU=qemu-system-aarch64 @@ -213,16 +214,14 @@ else QEMU=qemu-system-ppc64 ;; mips64el) - QEMU="qemu-system-$VMARCH" MAX_SMP=1 set -- -cpu 5KEc "$@" ;; mipsel) - QEMU="qemu-system-$VMARCH" MAX_SMP=1 ;; - *) - QEMU="qemu-system-$VMARCH" + riscv64) + set -- -machine virt "$@" ;; esac fi |