summaryrefslogtreecommitdiff
path: root/bin/debvm-run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-xbin/debvm-run8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/debvm-run b/bin/debvm-run
index a9d34cd..aaf870a 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -433,10 +433,12 @@ if test "$ENABLE_KVM" = yes; then
QEMU=kvm
fi
MACHINE="${MACHINE:+$MACHINE,}accel=kvm:tcg"
- # While kvm will fall back gracefully, the following options can only
- # be passed when kvm really is available.
+ # While kvm will fall back gracefully, only override CPU when we expect
+ # kvm to work.
if test -w /dev/kvm; then
- CPU=host
+ CPU=max
+ # kvm: "max" will become "host", intended.
+ # tcg: "max" will actually work, "host" would not.
fi
fi