Skip to content

Add support for Windows by using WHP with libkrun 2.0 - #116

Open
lstocchi wants to merge 1 commit into
libkrun:2.0from
lstocchi:firmware_windows
Open

lstocchi wants to merge 1 commit into
libkrun:2.0from
lstocchi:firmware_windows

Conversation

@lstocchi

Copy link
Copy Markdown

This PR adds experimental support for launching virtual machines on Windows hosts using libkrun 2.0 and the Windows Hypervisor Platform (WHP).

  1. Added build.rs link instructions using LIBKRUN_LIB_DIR for krun.dll.lib lookup on Windows and a build.ps1 helper script for local development on Windows.

  2. Restricted timesync module to macOS only

  3. Splitted context/virtio/status to have platform-specific implementations. The macOS part remained unchanged.

This patch misses the firmware for x86_64 systems. It depends on slp/edk2#2 It will be added in following PR

This PR adds experimental support for launching virtual machines on Windows hosts using libkrun 2.0 and the Windows Hypervisor Platform (WHP).

1. Added build.rs link instructions using LIBKRUN_LIB_DIR for krun.dll.lib lookup on Windows and a build.ps1 helper script for local development on Windows.

2. Restricted timesync module to macOS only

3. Splitted context/virtio/status to have platform-specific
   implementations. The macOS part remained unchanged.

This patch misses the firmware for x86_64 systems. It depends on slp/edk2#2
It will be added in following PR

Assisted-by: OpenCode: GPT-5.6 Terra
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant