diff options
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-x | bin/debvm-run | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/debvm-run b/bin/debvm-run index 588a153..4e94b8f 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -366,7 +366,7 @@ set -- \ # Translate KERNELARCH (a Debian architecture) to a Debian CPU name. # This utilizes the QEMU Debian package symlink mapping that ensures that # calling qemu-system-${DEB_HOST_ARCH_CPU} will run the QEMU binary providing -# the correct emulator for that CPU. +# the correct emulator for that CPU in trixie and later. KERNELARCHCPU="$(dpkg-architecture --force --host-arch "$KERNELARCH" --query DEB_HOST_ARCH_CPU)" QEMU="qemu-system-$KERNELARCHCPU" CPU= @@ -375,6 +375,7 @@ MAX_SMP= case "$KERNELARCHCPU" in amd64) + QEMU=qemu-system-x86_64 MACHINE="type=q35" ;; arm) @@ -383,6 +384,7 @@ case "$KERNELARCHCPU" in MAX_SMP=8 ;; arm64) + QEMU=qemu-system-aarch64 CPU=max,pauth-impdef=on MACHINE="type=virt,gic-version=max" ;; @@ -391,6 +393,9 @@ case "$KERNELARCHCPU" in MAX_SMP=1 : "${TRANSPORT:=device}" ;; + loong64) + QEMU=qemu-system-loongarch64 + ;; mips64el) CPU=5KEc MAX_SMP=1 @@ -399,8 +404,12 @@ case "$KERNELARCHCPU" in MAX_SMP=1 ;; powerpc) + QEMU=qemu-system-ppc MAX_SMP=1 ;; + ppc64el) + QEMU=qemu-system-ppc64 + ;; riscv64) MACHINE="type=virt" ;; |