Skip to content

Commit

Permalink
[Docs] Exporting env variables through WSL (#327)
Browse files Browse the repository at this point in the history
Adds a note about exporting the environment variables for the kernel,
initrd and UEFI firmware through WSL.
  • Loading branch information
pbarbuda authored Nov 14, 2024
1 parent 482527a commit b30c2e4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Guide/src/dev_guide/getting_started/suggested_dev_env.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,13 @@ You can then run the windows version of OpenVMM by running:
cargo winrun
```

OpenVMM configures some environment variables that specify the default Linux kernel,
initrd, and UEFI firmware. To make those variables available in Windows, run the following:

```bash
export WSLENV=$WSLENV:X86_64_OPENVMM_LINUX_DIRECT_KERNEL:X86_64_OPENVMM_LINUX_DIRECT_INITRD:AARCH64_OPENVMM_LINUX_DIRECT_KERNEL:AARCH64_OPENVMM_LINUX_DIRECT_INITRD:X86_64_OPENVMM_UEFI_FIRMWARE:AARCH64_OPENVMM_UEFI_FIRMWARE
```

### Speeding up Windows OpenVMM launch

Due to filesystem limitations on WSL, launching OpenVMM directly will be somewhat
Expand Down

0 comments on commit b30c2e4

Please sign in to comment.