From e1f056e141e190164916adaae3c2c37c58e61559 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 19 Apr 2023 19:59:56 +0200 Subject: [PATCH] KVM --- run/run.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/run/run.sh b/run/run.sh index b2905bb..1e32a91 100755 --- a/run/run.sh +++ b/run/run.sh @@ -50,10 +50,9 @@ if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then fi if [ -z "${KVM_OPTS}" ]; then - KVM_OPTS="-machine usb=off" - if [ "$DEBUG" != "Y" ]; then - echo "Error: KVM acceleration is disabled.." && exit 88 - fi + KVM_OPTS="-machine type=q35,usb=off" + echo "Error: KVM acceleration is disabled.." + [ "$DEBUG" != "Y" ] && exit 88 fi RAM_OPTS=$(echo "-m ${RAM_SIZE}" | sed 's/MB/M/g;s/GB/G/g;s/TB/T/g')