From 16e66716ba5d3937020da3bd88e40046e675ec1c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 13 Oct 2019 15:07:23 +0200 Subject: [PATCH] Runner: Enable QEMU's KVM mode by default This makes QEMU run significantly faster on Linux systems with KVM. --- Kernel/run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kernel/run b/Kernel/run index 1cdeecdd57..85001fcb8a 100755 --- a/Kernel/run +++ b/Kernel/run @@ -26,6 +26,7 @@ elif [ "$1" = "qtap" ]; then # ./run qtap: qemu with tap sudo $SERENITY_QEMU_BIN -s -m ${SERENITY_RAM_SIZE:-128} \ $SERENITY_EXTRA_QEMU_ARGS \ + -enable-kvm \ -d cpu_reset,guest_errors \ -device VGA,vgamem_mb=64 \ -debugcon stdio \ @@ -41,6 +42,7 @@ elif [ "$1" = "qgrub" ]; then # ./run qgrub: qemu with grub $SERENITY_QEMU_BIN -s -m ${SERENITY_RAM_SIZE:-128} \ $SERENITY_EXTRA_QEMU_ARGS \ + -enable-kvm \ -d cpu_reset,guest_errors \ -device VGA,vgamem_mb=64 \ -debugcon stdio \ @@ -53,6 +55,7 @@ else # ./run: qemu with user networking $SERENITY_QEMU_BIN -s -m ${SERENITY_RAM_SIZE:-128} \ $SERENITY_EXTRA_QEMU_ARGS \ + -enable-kvm \ -d cpu_reset,guest_errors \ -device VGA,vgamem_mb=64 \ -debugcon stdio \