mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Documentation+Meta: Automatically add disable_virtio on Windows
This commit is contained in:
parent
cc87bf46c1
commit
baf40ad96d
Notes:
sideshowbarker
2024-07-18 09:22:33 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/baf40ad96d8 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 1 additions and 4 deletions
|
@ -30,10 +30,6 @@ By default this will be located at `/mnt/c/Program Files/qemu/qemu-system-x86_64
|
|||
- Set the `SERENITY_QEMU_BIN` environment variable to the location above. For example: \
|
||||
`export SERENITY_QEMU_BIN='/mnt/c/Program Files/qemu/qemu-system-x86_64.exe'`
|
||||
|
||||
- Set the `SERENITY_KERNEL_CMDLINE` environment variable to disable VirtIO support (Because it is currently broken on
|
||||
native windows QEMU):
|
||||
`export SERENITY_KERNEL_CMDLINE="disable_virtio"`
|
||||
|
||||
- `ninja run` as usual.
|
||||
|
||||
### Hardware acceleration
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue