Description of problem: The Fedora Cloud WG recently changed to offering hybrid boot cloud images. This was done as the start of a longer-term effort to engage with the community and partners to boot Fedora images with UEFI. As part of this effort, we'd like to have the virt stack default to offering UEFI for VMs (with a CSM for BIOS backward compatibility if possible). It would be appreciated if GNOME Boxes defaulted to creating VMs with UEFI+CSM for "fedora", "unknown linux" and other similar things. Additional info: The full discussion about this is in the Fedora Cloud WG meeting logs here: https://meetbot.fedoraproject.org/teams/fedora_cloud_meeting/fedora_cloud_meeting.2021-08-19-14.59.log.html
Here's the ticket for this in the Fedora Cloud WG tracker: https://pagure.io/cloud-sig/issue/345
Neal, the work on the needed bits were done (osinfo, libosinfo, and GNOME Boxes), but then the GNOME Boxes bits got reverted due to a regression related to Snapshots (IIRC). Felipe will have more details on re-enabling it.
This is currently implemented in recent Boxes version (ever since 45). We use the osinfo-db database to determine whether the system supports EFI and we choose it when it does.