WebVirtMgr: How to enable UEFI boot for guest VM

  1. Install edk2-ovmf package, and make sure OVMF.fd got installed successfully.
  2. Edit your XML, simply replace <os> to <os firmware="efi"> , save.
  3. It will fix the XML configuration by itself. Boot the VM and it's using UEFI firmware now.

Screenshot Image

Ref: https://that.guru/blog/uefi-secure-boot-in-libvirt/