1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:47:36 +00:00

Documentation+Meta: Automatically add disable_virtio on Windows

This commit is contained in:
Gunnar Beutner 2021-07-10 14:14:12 +02:00
parent cc87bf46c1
commit baf40ad96d
2 changed files with 1 additions and 4 deletions

View file

@ -53,6 +53,7 @@ if command -v wslpath >/dev/null; then
case "$SERENITY_QEMU_BIN" in
/mnt/c/*)
[ -z "$SERENITY_QEMU_CPU" ] && SERENITY_QEMU_CPU="max,vmx=off"
SERENITY_KERNEL_CMDLINE="$SERENITY_KERNEL_CMDLINE disable_virtio"
esac
fi