summaryrefslogtreecommitdiff
path: root/bin/debvm-run
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-01-21 10:09:57 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-01-21 10:09:57 +0100
commit0dba27d15a459f3408fb71b9c79be9b8f4cbdb1d (patch)
tree1b2e7a95427e09d08551c2f915439bdb52eaaca6 /bin/debvm-run
parentf05ff18704cec8d393c4d0adff667dd815060a2a (diff)
downloaddebvm-0dba27d15a459f3408fb71b9c79be9b8f4cbdb1d.tar.gz
debvm-run: use gic-version=max for arm64
While the host version only works on kvm, max means the same and also works on tcg. Signed-off-by: Johannes Schauer Marin Rodrigues <josch@debian.org> Signed-off-by: Helmut Grohne <helmut@subdivi.de>
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-xbin/debvm-run6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/debvm-run b/bin/debvm-run
index fc52154..bead93e 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -271,9 +271,9 @@ if test "$ARCHITECTURE" = "$VMARCH"; then
# be passed when kvm really is available.
if test -w /dev/kvm; then
CPU=host
- if test "$VMARCH" = arm64; then
- MACHINE="$MACHINE,gic-version=host"
- fi
+ fi
+ if test "$VMARCH" = arm64; then
+ MACHINE="$MACHINE,gic-version=max"
fi
else
case "$VMARCH" in