diff --git a/Documentation/BuildInstructionsWindows.md b/Documentation/BuildInstructionsWindows.md index 812ff9f73d..f191209d5c 100644 --- a/Documentation/BuildInstructionsWindows.md +++ b/Documentation/BuildInstructionsWindows.md @@ -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 diff --git a/Meta/run.sh b/Meta/run.sh index 3f1696eea9..f7d666cc19 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -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