From 0564f314afc45b757a5813e5c6e485dc343a6b2d Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 17 Jan 2023 10:33:10 +0100 Subject: 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. --- bin/debvm-run | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bin/debvm-run') 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 -- cgit v1.2.3