mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Documentation+Meta: Automatically set vmx=off on Windows
This commit is contained in:
parent
2c392669c6
commit
cc87bf46c1
Notes:
sideshowbarker
2024-07-18 09:22:37 +09:00
Author: https://github.com/gunnarbeutner
Commit: cc87bf46c1
Pull-request: https://github.com/SerenityOS/serenity/pull/8594
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/nico
2 changed files with 7 additions and 3 deletions
|
@ -49,6 +49,13 @@ fi
|
|||
|
||||
[ -z "$SERENITY_RAM_SIZE" ] && SERENITY_RAM_SIZE=512M
|
||||
|
||||
if command -v wslpath >/dev/null; then
|
||||
case "$SERENITY_QEMU_BIN" in
|
||||
/mnt/c/*)
|
||||
[ -z "$SERENITY_QEMU_CPU" ] && SERENITY_QEMU_CPU="max,vmx=off"
|
||||
esac
|
||||
fi
|
||||
|
||||
[ -z "$SERENITY_QEMU_CPU" ] && SERENITY_QEMU_CPU="max"
|
||||
|
||||
[ -z "$SERENITY_DISK_IMAGE" ] && {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue