Skip to content

Add support for Windows #162

@lstocchi

Description

@lstocchi

Following my chat with Colin, I am opening this issue to track the exploration of enabling Windows for bcvk.
This issue serves as a high-level overview of the initial POC and a discussion point for the direction we want to take.

During DevTools week I have implemented a CLI POC that allows the project to work on Windows using Hyper-V.

  • POC branch (experimental): Link
  • main branch (a bit more polished/rebased on upstream): Link

the POC is very limited and only implements the to_disk and hyperv run commands. They are very far from the upstream implementation. My intent was more to put my hands over rust. It's not ready for testing as it is tightly coupled with my local setup. It requires podman to have a machine on WSL, macadam to be installed and that the bootc image to have the hyperv-daemons package in it.

This issue will be used as an Epic to track sub-issues that provides a minimal support on Windows.

@cgwalters if you prefer to not have any epic you can close it. I opened this as it was the only way i thought to give a quick overview why i was targeting windows.

Were you envisioning to have the windows implementation here or keep a separate project as it could be implemented slower than the linux version?
FYI in the bcvk_win main branch i tried to add my commits over bcvk.

Which is the minimal support bcvk should provide on Windows? Bootc VHD/VHDX image creation + running a permanent Hyper-v VM with that image? I'll open an issue for each command to separate discussions and avoid confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions