mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Runner: Enable QEMU's KVM mode by default
This makes QEMU run significantly faster on Linux systems with KVM.
This commit is contained in:
parent
44fb71261a
commit
16e66716ba
Notes:
sideshowbarker
2024-07-19 11:42:38 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/16e66716ba5
1 changed files with 3 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue