mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
Documentation+Meta: Automatically add disable_virtio on Windows
This commit is contained in:
parent
cc87bf46c1
commit
baf40ad96d
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…
Add table
Add a link
Reference in a new issue