Bug 1997903

Summary: RFE: Prefer UEFI for new VMs
Product: [Fedora] Fedora Reporter: Neal Gompa <ngompa13>
Component: gnome-boxesAssignee: Felipe Borges <feborges>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cfergeau, daltonminer, davdunc, davide, dustymabe, feborges, fedora, fidencio, gnome-sig, marcandre.lureau, pjones, sricharan.ramanujam, zeenix
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-27 08:01:44 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Gompa 2021-08-26 02:30:28 UTC
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

Comment 1 Neal Gompa 2021-08-26 02:32:18 UTC
Here's the ticket for this in the Fedora Cloud WG tracker: https://pagure.io/cloud-sig/issue/345

Comment 2 Fabiano FidĂȘncio 2021-08-30 07:07:08 UTC
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.

Comment 3 Felipe Borges 2024-09-27 08:01:44 UTC
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.