b4237bb12e
Root cause: PciDevice::open_io_ports never called acquire_iopl(), so the first outl to 0xCF8 triggered #GP(0) when redox-drm tried to scan virtio-gpu PCI capabilities. - Add ensure_iopl_acquired() helper (thread-local Once) - Call it in PciDevice::open_io_ports before any I/O - Add P1-pci-open-io-ports-iopl.patch to recipe - Mirror patch to local/patches/ for durability