3154813d01485e60eaf26b598794159cbc6a6f4e
iPXE's sanboot for an HTTP URL needs to hold the entire image in its own heap. The raw Alpine image is 2 GB; with the default 2 GB VM RAM, iPXE's allocator runs out around the 2 GB mark, leaves uninitialised 0xAF...AF fill in the fresh pages, and the firmware's next read from that area raises #GP at RIP 0x7EE855FC with RAX = 0xAF...AF. Bumping pxe-infra.vm.memory to 4G gives iPXE roughly 2G of heap for the download, which is exactly what a 2G image needs. The rest goes to OVMF firmware and friends.
I'm a super newbie who just posted my stuff here. Now maybe about intermediate
Languages
Nix
82.8%
Python
9%
Shell
7.3%
Dockerfile
0.5%
Perl
0.4%