You will need access to a Windows environment to work on ebpf-go for Windows. This repository contains a script which (mostly) automatically installs a Windows VM. It then proceeds to install dependencies necessary to compile and install eBPF for Windows.
./setup.sh path-to-windows.isoObtain the ISO by choosing "Download Windows 11 Disk Image (ISO)" on the download page and then following the instructions. Choose "English (United States)" as product language for a fully automated installation.
The setup script adds a public key from ~/.ssh,
you should be able to simply ssh into the VM by executing ssh $IP.
- Only tested with Windows 11
libvirtusing qemu backendgenisoimagecurlenvsubstfzf(optional, to select an ssh key)