diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-17 10:33:10 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-17 10:33:10 +0100 |
commit | 0564f314afc45b757a5813e5c6e485dc343a6b2d (patch) | |
tree | d931df1469f993ace06028f3af63f44247f84803 /bin/debvm-run | |
parent | f524f063ea335221c1ee2a74ba18f7b5a808fdb5 (diff) | |
download | debvm-0564f314afc45b757a5813e5c6e485dc343a6b2d.tar.gz |
expand architecture coverage
Give an example of how to use it with ports and add a few
architecture-specific cases. Note that m68k and sparc64 do not actually
work, because they lack PCI.
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-x | bin/debvm-run | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/debvm-run b/bin/debvm-run index e36ea60..3c3e528 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -241,9 +241,16 @@ else QEMU=qemu-system-arm set -- -machine virt -cpu max "$@" ;; + powerpc) + QEMU=qemu-system-ppc + MAX_SMP=1 + ;; ppc64el) QEMU=qemu-system-ppc64 ;; + m68k) + MAX_SMP=1 + ;; mips64el) MAX_SMP=1 set -- -cpu 5KEc "$@" @@ -254,6 +261,9 @@ else riscv64) set -- -machine virt "$@" ;; + sparc64) + MAX_SMP=1 + ;; esac fi if test -z "$MAX_SMP" || test "$MAX_SMP" -gt 1; then |