[Libguestfs] [PATCH 0/4] Use libvirt firmware autoselection

Pino Toscano ptoscano at redhat.com
Thu Jan 16 12:27:01 UTC 2020


Starting with 5.2.0, libvirt has a way to select the firmware by
specifying its type, provided configuration files for the firmware are
shipped. Currently we start the appliance as UEFI if any of the firmware
are found, so instead we can try to just set the firmware type iff:
- the libvirt autoselection works
- the 'efi' firmware is available

The only behaviour change is that the default firmware may be a
non-debug version, so we get no debug messages even when running in
verbose mode. This most probably will need an addition in libvirt to
select this feature among the available firmwares.

Pino Toscano (4):
  launch: libvirt: parse firmware autoselection
  lib: uefi: reset out parameters earlier
  lib: allow to use libvirt firmware autoselection
  lib: uefi: use the efi libvirt firmware if available

 lib/appliance-uefi.c   | 32 ++++++++++++++++++++++++++------
 lib/guestfs-internal.h |  2 +-
 lib/launch-direct.c    |  3 ++-
 lib/launch-libvirt.c   | 40 +++++++++++++++++++++++++++++++++++++++-
 4 files changed, 68 insertions(+), 9 deletions(-)

-- 
2.24.1




More information about the Libguestfs mailing list