diff options
-rwxr-xr-x | debvm-run | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -88,7 +88,11 @@ set -- \ if test "$ARCHITECTURE" = "$VMARCH"; then QEMU=kvm - set -- -cpu host "$@" + # 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 "$@" + fi else case "$VMARCH" in arm64) |