summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-03-29 20:21:19 +0200
committerHelmut Grohne <helmut@subdivi.de>2023-03-29 20:21:19 +0200
commit954ba600ffb78b596d9aa95c8b58c8a9adbe4035 (patch)
treea0df6e53911bcabc0d8c9d1349c8fb3b75efc603 /bin
parentaf316faaa00c7fc51612a5924eb731ad45189fa6 (diff)
downloaddebvm-954ba600ffb78b596d9aa95c8b58c8a9adbe4035.tar.gz
debvm-run: massively speed up tcg emulation of arm cpus
pauth emulation is very intensive on the CPU and thus there is a non-cryptographic alternative that provides a speedup of 3 to 4. https://qemu-project.gitlab.io/qemu/system/arm/cpu-features.html#tcg-vcpu-features Suggested-by: Arnd Bergmann <arnd@arndb.de> Reported-by: Emanuele Rocca <ema@debian.org> Tested-by: Emanuele Rocca <ema@debian.org> Closes: #1033643
Diffstat (limited to 'bin')
-rwxr-xr-xbin/debvm-run4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/debvm-run b/bin/debvm-run
index 7da7cd0..6a91ba9 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -269,13 +269,13 @@ case "$KERNELARCH" in
MACHINE="type=q35"
;;
arm|armel|armhf)
- CPU=max
+ CPU=max,pauth-impdef=on
MACHINE="type=virt"
MAX_SMP=8
;;
arm64)
QEMU=qemu-system-aarch64
- CPU=max
+ CPU=max,pauth-impdef=on
MACHINE="type=virt,gic-version=max"
;;
m68k)