On Tue, Jun 30, 2020 at 04:25:58PM +0200, Marcin Juszkiewicz wrote:
W dniu 30.06.2020 o 16:20, Tom Hughes via devel pisze:
> On 30/06/2020 15:00, Florian Weimer wrote:
>> * Jóhann B. Guðmundsson:
>>> Given Hans proposal  introduced systemd/grub2/Gnome upstream
>>> changes it beg the question if now would not be the time to stop
>>> supporting booting in legacy bios mode and move to uefi only
>>> supported boot which has been available on any common intel based
>>> x86 platform since atleast 2005.
>> Even for virtualization? Not sure if that can be done.
> Good point. Certainly libvirt still defaults to legacy BIOS and I
> don't think UEFI is even possible without manually editing the XML
> definition for the machine.
New installs for x86-64 VM can be BIOS of UEFI for quite some years.
For both i440fx and q35 variants.
Migration from BIOS to UEFI would require edit of instance XML but
should not be needed as you would not throw away working computer just
because OS decided to not support it's method of booting.
With modern Libvirt switching to EFI is alot easier than it was in the
past. You simply need to change <os> element in the XML to add the
attribute firmware="efi". No need to mess around with OVMF paths
like in the old days - thanks to metadata files defined by QEMU we
can auto-pick the right EFI firmware blob.
Still, as mentioned elsewhere in the thread there's downsides to
EFI, so I wouldn't encourage blindly changing existing guests to
use EFI. If they're happy as they currently are, then leave them
alone with SeaBIOS.