diff options
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-x | bin/debvm-run | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/debvm-run b/bin/debvm-run index 6a22a49..29e986e 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -244,14 +244,20 @@ case "$VMARCH" in ;; m68k) MACHINE="type=virt" + MAX_SMP=1 NIC_DEV=virtio-net-device,netdev=net0 RNG_DEV=virtio-rng-device,rng=rng0 ;; mips64el) CPU=5KEc + MAX_SMP=1 + ;; + mipsel) + MAX_SMP=1 ;; powerpc) QEMU=qemu-system-ppc + MAX_SMP=1 ;; ppc64el) QEMU=qemu-system-ppc64 @@ -260,6 +266,7 @@ case "$VMARCH" in MACHINE="type=virt" ;; sparc64) + MAX_SMP=1 RNG_DEV= ;; esac @@ -278,12 +285,6 @@ if test "$ARCHITECTURE" = "$VMARCH"; then if test "$VMARCH" = arm64; then MACHINE="$MACHINE,gic-version=max" fi -else - case "$VMARCH" in - m68k|mips64el|mipsel|powerpc|sparc64) - MAX_SMP=1 - ;; - esac fi if test -n "$MACHINE"; then |