Files
reims-vgpu/scripts
Anees Iqbal f424dadad9 🐛 Build QEMU with gnutls, and refuse vmapple without AES
vmapple's AES engine runs the guest's commands on QEMU's ciphers, and QEMU
gets those from a crypto library: gnutls, nettle or libgcrypt. Neither
install-ctl.sh nor `make qemu` asked for one, so whether QEMU had AES depended
on what else the host's Homebrew held. Built without one, QEMU falls back to a
stub that refuses every cipher. A macOS guest then hangs for good as it mounts
its root volume: its first AES DATA command fails and stays at the head of the
engine's FIFO, with every command after it. Serial output ends at "End of
iBootStage2", and the display never gets a mode. That was the hang on the
Scaleway M2 Pro Macs on macOS 27.2, whose Homebrew had none of the three; the
M3 Max's QEMU links gnutls.

- vendor/qemu moves to c7a4f070 on steelbrain/reims-vgpu. The AES engine
  checks at realize that AES-128, -192 and -256 work in ECB and CBC mode. A
  QEMU without them exits at start, saying what the build lacks, instead of
  hanging the guest.
- install-ctl.sh installs Homebrew's gnutls with the other formulas on macOS.
  Both it and `make qemu` configure QEMU with --enable-gnutls, so configure
  stops where gnutls is missing. An install's next update reconfigures QEMU,
  since its configure options changed.
- docs/qemu.md says how the hang was found and told apart from macOS 27.2,
  and README.md lists gnutls among QEMU's dependencies.

This is development-performance's 9d4f0a635, f8ef804f4 and 79225f10f
squashed. The QEMU change is its f1c10385 alone, picked onto development's
QEMU, without the dirty-source commits under it there.
2026-10-27 13:42:42 +02:00
..