Running Windows VMs with the cocoonstack Cloud Hypervisor and firmware forks.
Cocoon supports Windows guests via the --windows flag:
cocoon image pull <cloudimg-url>
cocoon vm run --windows --name win11 --cpu 2 --memory 4G --storage 15G <image-name>
The --windows flag:
kvm_hyperv=on)cocoon-check --upgrade installs the cocoonstack fork dev release build. The virtio-blk DISCARD fix and the virtio-net ctrl_queue tolerance and used_len fix are upstream since v52; the fork adds diff snapshots — see known issuesdev build, what cocoon-check --upgrade installs on x86_64 (EFI ResetSystem for the ACPI power-button and the IA32_FEATURE_CONTROL/VMXON lock — see known issues); upstream 0.5.0 boots Windows but cocoon vm stop falls back to the 30s timeoutPre-built images are published as split OCI artifacts and imported with oras pull + cocoon image import; see OS images for the pull steps and cocoonstack/windows for build automation.
Get-PnpDevice rebind that cocoon vm clone printsnetsh interface ipv4 set address ... inside the guest (SAC serial console via cocoon vm console). Windows keeps a static IPv4 setting per PCI slot, so a clone NIC that lands in the source’s slot re-applies the source’s address and collides with any running VM that holds it; prefer DHCP for clone sources, or reset the adapter’s settings in the cloneFor more details, see the Cloud Hypervisor Windows documentation.