summaryrefslogtreecommitdiff
path: root/bin/debvm-run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-xbin/debvm-run3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/debvm-run b/bin/debvm-run
index 6269ba6..6984528 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -231,10 +231,11 @@ esac
if test "$ARCHITECTURE" = "$VMARCH"; then
QEMU=kvm
+ MACHINE="${MACHINE:+$MACHINE,}accel=kvm:tcg"
# While kvm will fall back gracefully, the following options can only
# be passed when kvm really is available.
if test -w /dev/kvm; then
- set -- -enable-kvm -cpu host "$@"
+ set -- -cpu host "$@"
if test "$VMARCH" = arm64; then
MACHINE="$MACHINE,gic-version=host"
fi