summaryrefslogtreecommitdiff
path: root/debvm-run
diff options
context:
space:
mode:
Diffstat (limited to 'debvm-run')
-rwxr-xr-xdebvm-run7
1 files changed, 3 insertions, 4 deletions
diff --git a/debvm-run b/debvm-run
index d6a5422..1e1b3d8 100755
--- a/debvm-run
+++ b/debvm-run
@@ -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